idle.h 532 B

12345678910111213141516171819202122
  1. #ifndef _ASM_X86_IDLE_H
  2. #define _ASM_X86_IDLE_H
  3. #define IDLE_START 1
  4. #define IDLE_END 2
  5. struct notifier_block;
  6. void idle_notifier_register(struct notifier_block *n);
  7. void idle_notifier_unregister(struct notifier_block *n);
  8. #ifdef CONFIG_X86_64
  9. void enter_idle(void);
  10. void exit_idle(void);
  11. #else /* !CONFIG_X86_64 */
  12. static inline void enter_idle(void) { }
  13. static inline void exit_idle(void) { }
  14. static inline void __exit_idle(void) { }
  15. #endif /* CONFIG_X86_64 */
  16. void amd_e400_remove_cpu(int cpu);
  17. #endif /* _ASM_X86_IDLE_H */