projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd69aa6
)
x86/mm/numa: Simplify some bit mangling
author
Martin Bundgaard
<martin@mindflux.org>
Thu, 14 Mar 2013 18:34:35 +0000
(19:34 +0100)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 10 Apr 2013 17:06:26 +0000
(19:06 +0200)
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>
arch/x86/mm/amdtopology.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/amdtopology.c
b/arch/x86/mm/amdtopology.c
index 5247d01329ca96de7e9eacbb3f2511ff8f9c3a59..2ca15b59fb3f823a0e900918bac6042b49ec2fab 100644
(file)
--- 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;