aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/spu.h
diff options
context:
space:
mode:
authorBob Nelson <rrnelson@linux.vnet.ibm.com>2007-12-14 09:27:30 -0500
committerPaul Mackerras <paulus@samba.org>2007-12-27 23:07:52 -0500
commitaed3a8c9bb1a8623a618232087c5ff62718e3b9a (patch)
tree3998117906b40887ce7739288403927f461bf4f4 /include/asm-powerpc/spu.h
parentc68cb23dde29fb107575656effa46f7b9440ac04 (diff)
[POWERPC] Oprofile: Remove dependency on spufs module
This removes an OProfile dependency on the spufs module. This dependency was causing a problem for multiplatform systems that are built with support for Oprofile on Cell but try to load the oprofile module on a non-Cell system. Signed-off-by: Bob Nelson <rrnelson@us.ibm.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Acked-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r--include/asm-powerpc/spu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index b1accce77bb5..34b7807f068b 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -246,6 +246,7 @@ struct spufs_calls {
246 __u32 __user *ustatus); 246 __u32 __user *ustatus);
247 int (*coredump_extra_notes_size)(void); 247 int (*coredump_extra_notes_size)(void);
248 int (*coredump_extra_notes_write)(struct file *file, loff_t *foffset); 248 int (*coredump_extra_notes_write)(struct file *file, loff_t *foffset);
249 void (*notify_spus_active)(void);
249 struct module *owner; 250 struct module *owner;
250}; 251};
251 252
@@ -298,6 +299,9 @@ struct notifier_block;
298int spu_switch_event_register(struct notifier_block * n); 299int spu_switch_event_register(struct notifier_block * n);
299int spu_switch_event_unregister(struct notifier_block * n); 300int spu_switch_event_unregister(struct notifier_block * n);
300 301
302extern void notify_spus_active(void);
303extern void do_notify_spus_active(void);
304
301/* 305/*
302 * This defines the Local Store, Problem Area and Privlege Area of an SPU. 306 * This defines the Local Store, Problem Area and Privlege Area of an SPU.
303 */ 307 */