Browse Source

[PATCH] arm __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 18 years ago
parent
commit
35d59fc5d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/vfp/vfpmodule.c

+ 1 - 1
arch/arm/vfp/vfpmodule.c

@@ -90,7 +90,7 @@ void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
 
 
 	info.si_signo = SIGFPE;
 	info.si_signo = SIGFPE;
 	info.si_code = sicode;
 	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
 	 * This is the same as NWFPE, because it's not clear what