commit | 70c80d8be9db5648753f11353a0e473e35946a1e | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Wed Nov 09 12:44:56 2011 +0530 |
committer | Taniya Das <tdas@codeaurora.org> | Thu Nov 10 14:05:08 2011 +0530 |
tree | 1eb099688f784cbba93571ed0961ca2a89142aba | |
parent | a177d5541d38dfeff1700f5de4aa3c826e3ba295 [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. Change-Id: I2037d3bc8a3b928f8175736d459764020f4e4a9c Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Taniya Das <tdas@codeaurora.org>