summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-06-03 15:09:37 +0200
committerWill Deacon <will.deacon@arm.com>2011-07-07 20:20:51 +0200
commit194a7f720f6f009867a01b760f311b68f1e81872 (patch)
tree75c1aa60120ed22b893acf7bdef9f43ce6dc860c /arch/arm/kernel
parentMerge branch 'arm/proc-macros' of git://git.linaro.org/people/dmart/linux-2.6... (diff)
downloadlinux-194a7f720f6f009867a01b760f311b68f1e81872.tar.xz
linux-194a7f720f6f009867a01b760f311b68f1e81872.zip
ARM: hwcaps: use shifts instead of hardcoded constants
The HWCAP numbers are defined as constants, each one being a power of 2. This has become slightly unwieldy now that we have reached 32k. This patch changes the HWCAP defines to use (1 << n) instead of coding the constant directly. The values remain unchanged. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions