ARM: 7679/1: Clear IDIVT hwcap if CONFIG_ARM_THUMB=n
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 18 Mar 2013 18:44:14 +0000 (19:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 22 Mar 2013 17:16:54 +0000 (17:16 +0000)
commitc40e3641670eb6ebfdb71d4b0c775416ef95f4f0
tree96ca09009712653d778ca06f0ba9229577430332
parente651eab0af88aa7a281fe9e8c36c0846552aa7fc
ARM: 7679/1: Clear IDIVT hwcap if CONFIG_ARM_THUMB=n

Don't advertise support for the SDIV/UDIV thumb instructions if
the kernel is not compiled with support for thumb userspace. This
is in line with how we remove the THUMB hwcap in these
configurations.

Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c