[PATCH 1/2] powerpc: Fix compile error for CONFIG_VSX

Michael Neuling mikey at neuling.org
Tue Jul 1 14:51:29 EST 2008



In message <20080701040139.A6196702C9 at localhost.localdomain> you wrote:
> 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)

FYI.. this was caused by a merge conflict with sfr's patch
fcbc5a976b1cafe2e866871c86d239d57503bfd5

Mikey

> 
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
> 
>  arch/powerpc/kernel/signal_64.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: linux-2.6-ozlabs/arch/powerpc/kernel/signal_64.c
> ===================================================================
> --- linux-2.6-ozlabs.orig/arch/powerpc/kernel/signal_64.c
> +++ linux-2.6-ozlabs/arch/powerpc/kernel/signal_64.c
> @@ -167,6 +167,7 @@ static long restore_sigcontext(struct pt
>  #endif
>  #ifdef CONFIG_VSX
>  	double buf[FP_REGS_SIZE];
> +	int i;
>  #endif
>  	unsigned long err = 0;
>  	unsigned long save_r13 = 0;
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> 



More information about the Linuxppc-dev mailing list