Thumb-2: Correctly handle undefined instructions in the kernel
commit83e686ea0291ee93b87dcdc00b96443b80de56c9
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Sep 2009 22:27:07 +0000 (18 23:27 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Sep 2009 22:30:11 +0000 (18 23:30 +0100)
tree7c0adedcdb2a5838bc734ce6cf84a65563ea8c7a
parent74109b8913277b1dbd072039d1e0a930d2834389
Thumb-2: Correctly handle undefined instructions in the kernel

VFP instructions in the kernel may trigger undefined exceptions if VFP
hardware is not present. This patch corrects the loading of such Thumb-2
instructions. It also marks the "no_fp" label as a function so that the
linker generate a Thumb address.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/kernel/entry-armv.S