Commit 7e9a2f0a authored by Martin Bundgaard's avatar Martin Bundgaard Committed by Ingo Molnar

x86/mm/numa: Simplify some bit mangling

Minor. Reordered a few lines to lose a superfluous OR operation.
Signed-off-by: default avatarMartin Bundgaard <martin@mindflux.org>
Link: http://lkml.kernel.org/r/1363286075-62615-1-git-send-email-martin@mindflux.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent cd69aa6b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment