[PATCH] powerpc: Fix Kernel FP unavail exception for BookE

Kumar Gala galak at kernel.crashing.org
Wed Feb 1 11:15:58 EST 2006


Acked-by: Kumar Gala <galak at kernel.crashing.org>

On Tue, 31 Jan 2006, Becky Bruce wrote:

> powerpc: Correct BookE FP unavailable exception
> 
> Updated FP unavailable exception to refer to the correct
> function in traps.c. head_booke.h was using the old name, KernelFP,
> instead of kernel_fp_unavailable_exception.
> 
> Signed-off-by: Becky Bruce <becky.bruce at freescale.com>
> 
> ---
> commit 6e481b074a1cbe44dd5ccc29fe74857986a41e14
> tree 5e3d59136176a927dae2f42ce83b393b17fc86e6
> parent 2a68349345a9bf292d06a8baaa8182b946c7056c
> author Becky Bruce <becky.bruce at freescale.com> Tue, 31 Jan 2006 17:41:00 -0600
> committer Becky Bruce <becky.bruce at freescale.com> Tue, 31 Jan 2006 17:41:00 -0600
> 
>  arch/powerpc/kernel/head_booke.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h
> index 5827c27..8536e76 100644
> --- a/arch/powerpc/kernel/head_booke.h
> +++ b/arch/powerpc/kernel/head_booke.h
> @@ -358,6 +358,6 @@ label:
>  	NORMAL_EXCEPTION_PROLOG;					      \
>  	bne	load_up_fpu;		/* if from user, just load it up */   \
>  	addi	r3,r1,STACK_FRAME_OVERHEAD;				      \
> -	EXC_XFER_EE_LITE(0x800, KernelFP)
> +	EXC_XFER_EE_LITE(0x800, kernel_fp_unavailable_exception)
>  
>  #endif /* __HEAD_BOOKE_H__ */
> 




More information about the Linuxppc-dev mailing list