aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/spu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/spu.h')
-rw-r--r--include/asm-powerpc/spu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index 704e8a8d2ebd..ffa4df083609 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -115,6 +115,7 @@ struct spu {
115 struct spu_priv2 __iomem *priv2; 115 struct spu_priv2 __iomem *priv2;
116 struct list_head list; 116 struct list_head list;
117 struct list_head sched_list; 117 struct list_head sched_list;
118 struct list_head full_list;
118 int number; 119 int number;
119 int nid; 120 int nid;
120 unsigned int irqs[3]; 121 unsigned int irqs[3];
@@ -143,6 +144,8 @@ struct spu {
143 char irq_c1[8]; 144 char irq_c1[8];
144 char irq_c2[8]; 145 char irq_c2[8];
145 146
147 struct device_node *devnode;
148
146 struct sys_device sysdev; 149 struct sys_device sysdev;
147}; 150};
148 151
@@ -200,6 +203,12 @@ static inline void unregister_spu_syscalls(struct spufs_calls *calls)
200} 203}
201#endif /* MODULE */ 204#endif /* MODULE */
202 205
206int spu_add_sysdev_attr(struct sysdev_attribute *attr);
207void spu_remove_sysdev_attr(struct sysdev_attribute *attr);
208
209int spu_add_sysdev_attr_group(struct attribute_group *attrs);
210void spu_remove_sysdev_attr_group(struct attribute_group *attrs);
211
203 212
204/* 213/*
205 * Notifier blocks: 214 * Notifier blocks: