[ARM] 3470/1: Clear the HWCAP bits for the disabled kernel features
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 10 Apr 2006 20:32:35 +0000 (21:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Apr 2006 20:32:35 +0000 (21:32 +0100)
commitadeff42236aec0601ec979d1a41cd6d9cf5a8c05
tree52691b790e036de0a4f311f6ecef84f66a6796ae
parent7359036d5cdb86d14cfeb06d0e5a1d68f85cf8b7
[ARM] 3470/1: Clear the HWCAP bits for the disabled kernel features

Patch from Catalin Marinas

Glibc interprets the HWCAP bits and decides on what features to use.
However, even if the features are present in the hardware, they are not
always supported by the kernel and hence the corresponding bits have to be
cleared from the elf_hwcap variable.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c