aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86_64/idle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/idle.h')
-rw-r--r--include/asm-x86_64/idle.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-x86_64/idle.h b/include/asm-x86_64/idle.h
new file mode 100644
index 00000000000..6bd47dcf206
--- /dev/null
+++ b/include/asm-x86_64/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