]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/signal.h
powerpc: Clean up copy_to/from_user for vsx and fpr
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / signal.h
index 77efb3d5465a1c95793b9386b86ea1952ecbb21d..28f4b9f5fe5e970a505940acd4268ce355be48c3 100644 (file)
@@ -24,6 +24,16 @@ extern int handle_rt_signal32(unsigned long sig, struct k_sigaction *ka,
                              siginfo_t *info, sigset_t *oldset,
                              struct pt_regs *regs);
 
+extern unsigned long copy_fpr_to_user(void __user *to,
+                                     struct task_struct *task);
+extern unsigned long copy_fpr_from_user(struct task_struct *task,
+                                       void __user *from);
+#ifdef CONFIG_VSX
+extern unsigned long copy_vsx_to_user(void __user *to,
+                                     struct task_struct *task);
+extern unsigned long copy_vsx_from_user(struct task_struct *task,
+                                       void __user *from);
+#endif
 
 #ifdef CONFIG_PPC64