Skip to content

Commit

Permalink
powerpc: Fix compile error for CONFIG_VSX
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Neuling authored and Paul Mackerras committed Jul 1, 2008
1 parent a91a03e commit 436db69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 436db69

Please sign in to comment.