diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-20 07:10:09 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-20 07:10:09 -0400 |
commit | 17a6392d30b4ed89b88a47a318b2b6de6ae7b946 (patch) | |
tree | 1c2a7dbbbce95db33bbfd2725fa19f2d2ecf6ecd /arch/ppc | |
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 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/idle.c b/arch/ppc/kernel/idle.c index 0a12fbef7347..11e5b44713f7 100644 --- a/arch/ppc/kernel/idle.c +++ b/arch/ppc/kernel/idle.c | |||
@@ -75,7 +75,7 @@ void cpu_idle(void) | |||
75 | /* | 75 | /* |
76 | * Register the sysctl to set/clear powersave_nap. | 76 | * Register the sysctl to set/clear powersave_nap. |
77 | */ | 77 | */ |
78 | extern unsigned long powersave_nap; | 78 | extern int powersave_nap; |
79 | 79 | ||
80 | static ctl_table powersave_nap_ctl_table[]={ | 80 | static ctl_table powersave_nap_ctl_table[]={ |
81 | { | 81 | { |