powerpc: Fix compile error for CONFIG_VSX
authorMichael Neuling <mikey@neuling.org>
Tue, 1 Jul 2008 04:01:39 +0000 (14:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 04:47:07 +0000 (14:47 +1000)
Fix compile error when CONFIG_VSX is enabled.

arch/powerpc/kernel/signal_64.c: In function 'restore_sigcontext':
arch/powerpc/kernel/signal_64.c:241: error: 'i' undeclared (first use in this function)

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/signal_64.c

index 6e6b01a6db5fff1b70c99c1e16030af33fc116e0..8214e57aab67c662b88ef6f5b41e34c15ff40254 100644 (file)
@@ -167,6 +167,7 @@ static long restore_sigcontext(struct pt_regs *regs, sigset_t *set, int sig,
 #endif
 #ifdef CONFIG_VSX
        double buf[FP_REGS_SIZE];
+       int i;
 #endif
        unsigned long err = 0;
        unsigned long save_r13 = 0;