[PATCH] arm __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 11 Oct 2006 16:22:44 +0000 (17:22 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:17:05 +0000 (11:17 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/arm/vfp/vfpmodule.c

index dedbb449632edc1f65a40d39e06650df14831a98..a657a28f08dbbbf701acfe16e18a6b4350430948 100644 (file)
@@ -90,7 +90,7 @@ void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
 
        info.si_signo = SIGFPE;
        info.si_code = sicode;
-       info.si_addr = (void *)(instruction_pointer(regs) - 4);
+       info.si_addr = (void __user *)(instruction_pointer(regs) - 4);
 
        /*
         * This is the same as NWFPE, because it's not clear what