Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6-block.git] / arch / x86 / include / asm / idle.h
CommitLineData
1965aae3
PA
1#ifndef _ASM_X86_IDLE_H
2#define _ASM_X86_IDLE_H
95833c83
AK
3
4#define IDLE_START 1
5#define IDLE_END 2
6
7struct notifier_block;
8void idle_notifier_register(struct notifier_block *n);
27471fdb 9void idle_notifier_unregister(struct notifier_block *n);
95833c83 10
8f2466f4 11#ifdef CONFIG_X86_64
95833c83
AK
12void enter_idle(void);
13void exit_idle(void);
8f2466f4
HS
14#else /* !CONFIG_X86_64 */
15static inline void enter_idle(void) { }
16static inline void exit_idle(void) { }
17#endif /* CONFIG_X86_64 */
95833c83 18
4faac97d
TG
19void c1e_remove_cpu(int cpu);
20
1965aae3 21#endif /* _ASM_X86_IDLE_H */