diff options
author | Martin Bundgaard <[email protected]> | 2013-03-14 19:34:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-04-10 19:06:26 +0200 |
commit | 7e9a2f0a080ba2f247559e95eb0df7072bede18a (patch) | |
tree | 79dd405ef05a480d4950fd864719c9f4a3aaa247 | |
parent | cd69aa6b383c6a6373bff2204190cadf451ebcc3 (diff) |
x86/mm/numa: Simplify some bit mangling
Minor. Reordered a few lines to lose a superfluous OR operation.
Signed-off-by: Martin Bundgaard <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/mm/amdtopology.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mm/amdtopology.c b/arch/x86/mm/amdtopology.c index 5247d01329ca..2ca15b59fb3f 100644 --- a/arch/x86/mm/amdtopology.c +++ b/arch/x86/mm/amdtopology.c @@ -130,9 +130,8 @@ int __init amd_numa_init(void) } limit >>= 16; - limit <<= 24; - limit |= (1<<24)-1; limit++; + limit <<= 24; if (limit > end) limit = end; |