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
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
ppc64
/
kernel
/
vecemu.c
diff --git
a/arch/ppc64/kernel/vecemu.c
b/arch/ppc64/kernel/vecemu.c
index
1430ef5
..
cb20762
100644
(file)
--- a/
arch/ppc64/kernel/vecemu.c
+++ b/
arch/ppc64/kernel/vecemu.c
@@
-263,7
+263,7
@@
emulate_altivec(struct pt_regs *regs)
unsigned int va, vb, vc, vd;
vector128 *vrs;
- if (get_user(instr, (unsigned int *) regs->nip))
+ if (get_user(instr, (unsigned int
__user
*) regs->nip))
return -EFAULT;
if ((instr >> 26) != 4)
return -EINVAL; /* not an altivec instruction */