mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-04-10 11:01:58 +00:00
[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>
This commit is contained in:
parent
ed8ed9ac06
commit
f1fa16e881
@ -161,6 +161,7 @@ struct spu_syscall_block {
|
|||||||
extern long spu_sys_callback(struct spu_syscall_block *s);
|
extern long spu_sys_callback(struct spu_syscall_block *s);
|
||||||
|
|
||||||
/* syscalls implemented in spufs */
|
/* syscalls implemented in spufs */
|
||||||
|
struct file;
|
||||||
extern struct spufs_calls {
|
extern struct spufs_calls {
|
||||||
asmlinkage long (*create_thread)(const char __user *name,
|
asmlinkage long (*create_thread)(const char __user *name,
|
||||||
unsigned int flags, mode_t mode);
|
unsigned int flags, mode_t mode);
|
||||||
@ -232,6 +233,7 @@ void spu_remove_sysdev_attr_group(struct attribute_group *attrs);
|
|||||||
* to object-id spufs file from user space and the notifer
|
* to object-id spufs file from user space and the notifer
|
||||||
* function can assume that spu->ctx is valid.
|
* function can assume that spu->ctx is valid.
|
||||||
*/
|
*/
|
||||||
|
struct notifier_block;
|
||||||
int spu_switch_event_register(struct notifier_block * n);
|
int spu_switch_event_register(struct notifier_block * n);
|
||||||
int spu_switch_event_unregister(struct notifier_block * n);
|
int spu_switch_event_unregister(struct notifier_block * n);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user