git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305edad
)
ARM: hwcaps: use shifts instead of hardcoded constants
author
Will Deacon
<will.deacon@arm.com>
Fri, 3 Jun 2011 13:09:37 +0000
(14:09 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Thu, 7 Jul 2011 18:20:51 +0000
(19:20 +0100)
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>
No differences found