git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
arch
/
ppc64
/
mm
/
fault.c
diff --git
a/arch/ppc64/mm/fault.c
b/arch/ppc64/mm/fault.c
index
5079f87
..
ca2b86d
100644
(file)
--- a/
arch/ppc64/mm/fault.c
+++ b/
arch/ppc64/mm/fault.c
@@
-45,7
+45,7
@@
static int store_updates_sp(struct pt_regs *regs)
{
unsigned int inst;
- if (get_user(inst, (unsigned int *)regs->nip))
+ if (get_user(inst, (unsigned int
__user
*)regs->nip))
return 0;
/* check for 1 in the rA field */
if (((inst >> 16) & 0x1f) != 1)