]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit59d621d8fbd89a6a289598589a279887a89e3b23
tree52691b790e036de0a4f311f6ecef84f66a6796ae
parentc8658daf71383a40c363c4095e0f7bedecdd6821
[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