summaryrefslogtreecommitdiff
path: root/include/asm-x86/idle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/idle.h')
-rw-r--r--include/asm-x86/idle.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-x86/idle.h b/include/asm-x86/idle.h
new file mode 100644
index 000000000000..6bd47dcf2067
--- /dev/null
+++ b/include/asm-x86/idle.h
@@ -0,0 +1,14 @@
+#ifndef _ASM_X86_64_IDLE_H
+#define _ASM_X86_64_IDLE_H 1
+
+#define IDLE_START 1
+#define IDLE_END 2
+
+struct notifier_block;
+void idle_notifier_register(struct notifier_block *n);
+void idle_notifier_unregister(struct notifier_block *n);
+
+void enter_idle(void);
+void exit_idle(void);
+
+#endif