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>
This commit is contained in:
Martin Bundgaard 2013-03-14 19:34:35 +01:00 committed by Ingo Molnar
parent cd69aa6b38
commit 7e9a2f0a08
1 changed files with 1 additions and 2 deletions

View File

@ -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;