diff options
Diffstat (limited to 'arch/powerpc/include/asm/spu.h')
| -rw-r--r-- | arch/powerpc/include/asm/spu.h | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/spu.h b/arch/powerpc/include/asm/spu.h index 4e360bd4a35..93f280e2327 100644 --- a/arch/powerpc/include/asm/spu.h +++ b/arch/powerpc/include/asm/spu.h @@ -25,7 +25,7 @@  #ifdef __KERNEL__  #include <linux/workqueue.h> -#include <linux/sysdev.h> +#include <linux/device.h>  #include <linux/mutex.h>  #define LS_SIZE (256 * 1024) @@ -166,7 +166,7 @@ struct spu {  	/* beat only */  	u64 shadow_int_mask_RW[3]; -	struct sys_device sysdev; +	struct device dev;  	int has_mem_affinity;  	struct list_head aff_list; @@ -237,7 +237,7 @@ extern long spu_sys_callback(struct spu_syscall_block *s);  struct file;  struct spufs_calls {  	long (*create_thread)(const char __user *name, -					unsigned int flags, mode_t mode, +					unsigned int flags, umode_t mode,  					struct file *neighbor);  	long (*spu_run)(struct file *filp, __u32 __user *unpc,  						__u32 __user *ustatus); @@ -270,11 +270,11 @@ struct spufs_calls {  int register_spu_syscalls(struct spufs_calls *calls);  void unregister_spu_syscalls(struct spufs_calls *calls); -int spu_add_sysdev_attr(struct sysdev_attribute *attr); -void spu_remove_sysdev_attr(struct sysdev_attribute *attr); +int spu_add_dev_attr(struct device_attribute *attr); +void spu_remove_dev_attr(struct device_attribute *attr); -int spu_add_sysdev_attr_group(struct attribute_group *attrs); -void spu_remove_sysdev_attr_group(struct attribute_group *attrs); +int spu_add_dev_attr_group(struct attribute_group *attrs); +void spu_remove_dev_attr_group(struct attribute_group *attrs);  int spu_handle_mm_fault(struct mm_struct *mm, unsigned long ea,  		unsigned long dsisr, unsigned *flt);  |