summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/cpuidle.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/cpuidle.h')
-rw-r--r--arch/arm64/include/asm/cpuidle.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpuidle.h b/arch/arm64/include/asm/cpuidle.h
new file mode 100644
index 000000000000..b52a9932e2b1
--- /dev/null
+++ b/arch/arm64/include/asm/cpuidle.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_CPUIDLE_H
+#define __ASM_CPUIDLE_H
+
+#ifdef CONFIG_CPU_IDLE
+extern int cpu_init_idle(unsigned int cpu);
+#else
+static inline int cpu_init_idle(unsigned int cpu)
+{
+ return -EOPNOTSUPP;
+}
+#endif
+
+#endif