commit | 194a7f720f6f009867a01b760f311b68f1e81872 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Fri Jun 03 14:09:37 2011 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jul 07 19:20:51 2011 +0100 |
tree | 75c1aa60120ed22b893acf7bdef9f43ce6dc860c | |
parent | 305edadbfbc46f1d194d27e93e4237284b95fbb0 [diff] |
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>