aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/system.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-20 07:10:09 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-20 07:10:09 -0400
commit17a6392d30b4ed89b88a47a318b2b6de6ae7b946 (patch)
tree1c2a7dbbbce95db33bbfd2725fa19f2d2ecf6ecd /include/asm-powerpc/system.h
parentd85b525e6e1d0886eebd1d4c4f954d9d2f226a63 (diff)
powerpc/ppc/ppc64: Various compile fixes.
This declares powersave_nap in system.h and makes it an int everywhere, fixes typos for the maple platform, fixes a couple of places where I missed removing the last two arguments from a message_pass function, and makes ppc64 consistent with ppc32 in the type of the pci_bridge.cfg_data field. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/system.h')
-rw-r--r--include/asm-powerpc/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h
index 6463453b61a3..d60c8c928922 100644
--- a/include/asm-powerpc/system.h
+++ b/include/asm-powerpc/system.h
@@ -180,6 +180,8 @@ extern struct task_struct *_switch(struct thread_struct *prev,
180extern unsigned int rtas_data; 180extern unsigned int rtas_data;
181extern int mem_init_done; /* set on boot once kmalloc can be called */ 181extern int mem_init_done; /* set on boot once kmalloc can be called */
182 182
183extern int powersave_nap; /* set if nap mode can be used in idle loop */
184
183/* 185/*
184 * Atomic exchange 186 * Atomic exchange
185 * 187 *