Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / x86 / include / asm / idle.h
blobf49253d75710e90bd31a86956d941b0cfb289940
1 #ifndef _ASM_X86_IDLE_H
2 #define _ASM_X86_IDLE_H
4 #define IDLE_START 1
5 #define IDLE_END 2
7 struct notifier_block;
8 void idle_notifier_register(struct notifier_block *n);
9 void idle_notifier_unregister(struct notifier_block *n);
11 #ifdef CONFIG_X86_64
12 void enter_idle(void);
13 void exit_idle(void);
14 #else /* !CONFIG_X86_64 */
15 static inline void enter_idle(void) { }
16 static inline void exit_idle(void) { }
17 #endif /* CONFIG_X86_64 */
19 void amd_e400_remove_cpu(int cpu);
21 #endif /* _ASM_X86_IDLE_H */