diff options
author | Michael Neuling <mikey@neuling.org> | 2008-07-01 14:01:39 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-07-01 14:47:07 +1000 |
commit | 436db693c4f4d02d375780a1f0b2ebdca2451cd6 (patch) | |
tree | 5e8be2b860139422ffbe38760710a2260cf841c7 /arch | |
parent | a91a03ee31a5c29a934708b7cf37bb8da516d016 (diff) | |
download | kernel_samsung_smdk4412-436db693c4f4d02d375780a1f0b2ebdca2451cd6.zip kernel_samsung_smdk4412-436db693c4f4d02d375780a1f0b2ebdca2451cd6.tar.gz kernel_samsung_smdk4412-436db693c4f4d02d375780a1f0b2ebdca2451cd6.tar.bz2 |
powerpc: Fix compile error for CONFIG_VSX
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/signal_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/signal_64.c b/arch/powerpc/kernel/signal_64.c index 6e6b01a..8214e57 100644 --- a/arch/powerpc/kernel/signal_64.c +++ b/arch/powerpc/kernel/signal_64.c @@ -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; |