diff options
author | Martin Bundgaard <martin@mindflux.org> | 2013-03-14 19:34:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-10 19:06:26 +0200 |
commit | 7e9a2f0a080ba2f247559e95eb0df7072bede18a (patch) | |
tree | 79dd405ef05a480d4950fd864719c9f4a3aaa247 /arch/x86 | |
parent | cd69aa6b383c6a6373bff2204190cadf451ebcc3 (diff) | |
download | blackbird-op-linux-7e9a2f0a080ba2f247559e95eb0df7072bede18a.tar.gz blackbird-op-linux-7e9a2f0a080ba2f247559e95eb0df7072bede18a.zip |
x86/mm/numa: Simplify some bit mangling
Minor. Reordered a few lines to lose a superfluous OR operation.
Signed-off-by: Martin Bundgaard <martin@mindflux.org>
Link: http://lkml.kernel.org/r/1363286075-62615-1-git-send-email-martin@mindflux.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-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; |