Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ppc32: fix ppc44x fpu build

Fixes ppc44x fpu support that broke from a bad arch/powerpc merge.
Instead of adding KernelFP back in (which duplicates code) we use
the same kernel fpu unavailable handler as classic PPC processors.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Matt Porter and committed by
Paul Mackerras
43cefe29 8882a4da

+1 -1
+1 -1
arch/ppc/kernel/head_booke.h
··· 358 358 NORMAL_EXCEPTION_PROLOG; \ 359 359 bne load_up_fpu; /* if from user, just load it up */ \ 360 360 addi r3,r1,STACK_FRAME_OVERHEAD; \ 361 - EXC_XFER_EE_LITE(0x800, KernelFP) 361 + EXC_XFER_EE_LITE(0x800, kernel_fp_unavailable_exception) 362 362 363 363 #endif /* __HEAD_BOOKE_H__ */