summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc64/machdep.h')
-rw-r--r--include/asm-ppc64/machdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc64/machdep.h b/include/asm-ppc64/machdep.h
index 9cdad3ed1526..1e6ad4824132 100644
--- a/include/asm-ppc64/machdep.h
+++ b/include/asm-ppc64/machdep.h
@@ -140,8 +140,13 @@ struct machdep_calls {
unsigned long size,
pgprot_t vma_prot);
+ /* Idle loop for this platform, leave empty for default idle loop */
+ int (*idle_loop)(void);
};
+extern int default_idle(void);
+extern int native_idle(void);
+
extern struct machdep_calls ppc_md;
extern char cmd_line[COMMAND_LINE_SIZE];
OpenPOWER on IntegriCloud