H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_IDLE_H |
| 2 | #define _ASM_X86_IDLE_H |
Andi Kleen | 95833c8 | 2006-01-11 22:44:36 +0100 | [diff] [blame] | 3 | |
| 4 | #define IDLE_START 1 |
| 5 | #define IDLE_END 2 |
| 6 | |
| 7 | struct notifier_block; |
| 8 | void idle_notifier_register(struct notifier_block *n); |
Linus Torvalds | 5b34653 | 2008-10-23 10:22:01 -0700 | [diff] [blame] | 9 | void idle_notifier_unregister(struct notifier_block *n); |
Andi Kleen | 95833c8 | 2006-01-11 22:44:36 +0100 | [diff] [blame] | 10 | |
| 11 | void enter_idle(void); |
| 12 | void exit_idle(void); |
| 13 | |
Thomas Gleixner | 4faac97 | 2008-09-22 18:54:29 +0200 | [diff] [blame] | 14 | void c1e_remove_cpu(int cpu); |
| 15 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 16 | #endif /* _ASM_X86_IDLE_H */ |