Commit 70c80d8b authored by Will Deacon's avatar Will Deacon Committed by Taniya Das
Browse files

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: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent a177d554
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment