diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-20 21:10:09 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-20 21:10:09 +1000 |
commit | 17a6392d30b4ed89b88a47a318b2b6de6ae7b946 (patch) | |
tree | 1c2a7dbbbce95db33bbfd2725fa19f2d2ecf6ecd /include/asm-powerpc/system.h | |
parent | d85b525e6e1d0886eebd1d4c4f954d9d2f226a63 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index 6463453b61a..d60c8c92892 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, extern unsigned int rtas_data; extern int mem_init_done; /* set on boot once kmalloc can be called */ +extern int powersave_nap; /* set if nap mode can be used in idle loop */ + /* * Atomic exchange * |