* [patch] PS3: Fix sys manager build error
@ 2007-05-09 20:09 Geoff Levand
0 siblings, 0 replies; only message in thread
From: Geoff Levand @ 2007-05-09 20:09 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
Fix a PS3 build error when CONFIG_PS3_SYS_MANAGER=n.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
Paul,
Please apply for 2.6.22.
include/asm-powerpc/ps3.h | 5 +++++
1 file changed, 5 insertions(+)
--- ps3-linux-dev.orig/include/asm-powerpc/ps3.h
+++ ps3-linux-dev/include/asm-powerpc/ps3.h
@@ -377,8 +377,13 @@ int ps3_vuart_port_device_register(struc
/* 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-09 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 20:09 [patch] PS3: Fix sys manager build error Geoff Levand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.