diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-12-19 09:32:42 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2006-12-19 09:35:36 -0500 |
commit | f1fa16e8816a2285ed77070ce60a6858fb7913cc (patch) | |
tree | 7fb7d768d0032e6add1a20ff967b940da9bcc468 /include/asm-powerpc | |
parent | ed8ed9ac06604513edd6be6b1c81b6270296b7fc (diff) |
[POWERPC] cell: add forward struct declarations to spu.h
Needed to be able to include spu.h independant from other
headers.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/spu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h index fdad4267b447..3d90264e9d36 100644 --- a/include/asm-powerpc/spu.h +++ b/include/asm-powerpc/spu.h | |||
@@ -161,6 +161,7 @@ struct spu_syscall_block { | |||
161 | extern long spu_sys_callback(struct spu_syscall_block *s); | 161 | extern long spu_sys_callback(struct spu_syscall_block *s); |
162 | 162 | ||
163 | /* syscalls implemented in spufs */ | 163 | /* syscalls implemented in spufs */ |
164 | struct file; | ||
164 | extern struct spufs_calls { | 165 | extern struct spufs_calls { |
165 | asmlinkage long (*create_thread)(const char __user *name, | 166 | asmlinkage long (*create_thread)(const char __user *name, |
166 | unsigned int flags, mode_t mode); | 167 | unsigned int flags, mode_t mode); |
@@ -232,6 +233,7 @@ void spu_remove_sysdev_attr_group(struct attribute_group *attrs); | |||
232 | * to object-id spufs file from user space and the notifer | 233 | * to object-id spufs file from user space and the notifer |
233 | * function can assume that spu->ctx is valid. | 234 | * function can assume that spu->ctx is valid. |
234 | */ | 235 | */ |
236 | struct notifier_block; | ||
235 | int spu_switch_event_register(struct notifier_block * n); | 237 | int spu_switch_event_register(struct notifier_block * n); |
236 | int spu_switch_event_unregister(struct notifier_block * n); | 238 | int spu_switch_event_unregister(struct notifier_block * n); |
237 | 239 | ||