diff options
author | Michael Neuling <mikey@neuling.org> | 2008-07-08 10:53:03 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-09 08:30:47 +0200 |
commit | b887ec620a7575f54fa025d38fa1008dc8a3b12a (patch) | |
tree | bff66481982c31bf9cdcfe5f0ab4f7afebf851a8 /arch/powerpc/kernel/align.c | |
parent | powerpc: fix swapcontext backwards compat. with VSX ucontext changes (diff) | |
download | linux-b887ec620a7575f54fa025d38fa1008dc8a3b12a.tar.xz linux-b887ec620a7575f54fa025d38fa1008dc8a3b12a.zip |
powerpc: remove unused variable in emulate_fp_pair
regs is not used in emulate_fp_pair so remove it.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/align.c')
-rw-r--r-- | arch/powerpc/kernel/align.c | 6 |
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, * Only POWER6 has these instructions, and it does true little-endian, * so we don't need the address swizzling. */ -static int emulate_fp_pair(struct pt_regs *regs, unsigned char __user *addr, - unsigned int reg, unsigned int flags) +static int emulate_fp_pair(unsigned char __user *addr, unsigned int reg, + unsigned int flags) { char *ptr = (char *) ¤t->thread.TS_FPR(reg); int i, ret; @@ -759,7 +759,7 @@ int fix_alignment(struct pt_regs *regs) /* Special case for 16-byte FP loads and stores */ if (nb == 16) - return emulate_fp_pair(regs, addr, reg, flags); + return emulate_fp_pair(addr, reg, flags); /* If we are loading, get the data from user space, else * get it from register values |