diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2006-11-23 00:46:59 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 20:40:56 +1100 |
commit | de91a53429952875740692d1de36ae70d4cf81da (patch) | |
tree | 51e0a7127eac6fd3501f732e42119299e1fae38c /arch/powerpc/platforms/ps3/platform.h | |
parent | 00a3e2e93cd3ce73ab2d200fff22a62548da06d6 (diff) |
[POWERPC] ps3: add spu support
Adds spu support for the PS3 platform.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/ps3/platform.h')
-rw-r--r-- | arch/powerpc/platforms/ps3/platform.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/ps3/platform.h b/arch/powerpc/platforms/ps3/platform.h index d9948df6ccd..23b111bea9d 100644 --- a/arch/powerpc/platforms/ps3/platform.h +++ b/arch/powerpc/platforms/ps3/platform.h @@ -57,4 +57,12 @@ int ps3_set_rtc_time(struct rtc_time *time); int __init ps3_os_area_init(void); u64 ps3_os_area_rtc_diff(void); +/* spu */ + +#if defined(CONFIG_SPU_BASE) +void ps3_spu_set_platform (void); +#else +static inline void ps3_spu_set_platform (void) {} +#endif + #endif |