aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/align.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c
index c95954c81454..f22b5d0a4a97 100644
--- a/arch/powerpc/kernel/align.c
+++ b/arch/powerpc/kernel/align.c
@@ -363,8 +363,8 @@ static int emulate_multiple(struct pt_regs *regs, unsigned char __user *addr,
363 * Only POWER6 has these instructions, and it does true little-endian, 363 * Only POWER6 has these instructions, and it does true little-endian,
364 * so we don't need the address swizzling. 364 * so we don't need the address swizzling.
365 */ 365 */
366static int emulate_fp_pair(struct pt_regs *regs, unsigned char __user *addr, 366static int emulate_fp_pair(unsigned char __user *addr, unsigned int reg,
367 unsigned int reg, unsigned int flags) 367 unsigned int flags)
368{ 368{
369 char *ptr = (char *) &current->thread.TS_FPR(reg); 369 char *ptr = (char *) &current->thread.TS_FPR(reg);
370 int i, ret; 370 int i, ret;
@@ -759,7 +759,7 @@ int fix_alignment(struct pt_regs *regs)
759 759
760 /* Special case for 16-byte FP loads and stores */ 760 /* Special case for 16-byte FP loads and stores */
761 if (nb == 16) 761 if (nb == 16)
762 return emulate_fp_pair(regs, addr, reg, flags); 762 return emulate_fp_pair(addr, reg, flags);
763 763
764 /* If we are loading, get the data from user space, else 764 /* If we are loading, get the data from user space, else
765 * get it from register values 765 * get it from register values