cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cpuidle_haltpoll.h (312B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _CPUIDLE_HALTPOLL_H
      3#define _CPUIDLE_HALTPOLL_H
      4
      5#ifdef CONFIG_ARCH_CPUIDLE_HALTPOLL
      6#include <asm/cpuidle_haltpoll.h>
      7#else
      8static inline void arch_haltpoll_enable(unsigned int cpu)
      9{
     10}
     11
     12static inline void arch_haltpoll_disable(unsigned int cpu)
     13{
     14}
     15#endif
     16#endif