summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-05-09 22:09:14 +0200
committerPaul Mackerras <paulus@samba.org>2007-05-10 13:28:13 +0200
commit6e66837b2669d6c07177ada4db9ec47ce9c31873 (patch)
tree783bde465d2d95c21658eb8ce47f8984d5a9c7f2 /include
parent[POWERPC] Assorted janitorial EEH cleanups (diff)
downloadlinux-6e66837b2669d6c07177ada4db9ec47ce9c31873.tar.xz
linux-6e66837b2669d6c07177ada4db9ec47ce9c31873.zip
[POWERPC] PS3: Fix sys manager build error
Fix a PS3 build error when CONFIG_PS3_SYS_MANAGER=n. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/ps3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h
index 13c372df99e8..1e04651eedc4 100644
--- a/include/asm-powerpc/ps3.h
+++ b/include/asm-powerpc/ps3.h
@@ -377,8 +377,13 @@ int ps3_vuart_port_device_register(struct ps3_vuart_port_device *dev);
/* system manager */
+#ifdef CONFIG_PS3_SYS_MANAGER
void ps3_sys_manager_restart(void);
void ps3_sys_manager_power_off(void);
+#else
+static inline void ps3_sys_manager_restart(void) {}
+static inline void ps3_sys_manager_power_off(void) {}
+#endif
struct ps3_prealloc {
const char *name;