Skip to content

Commit

Permalink
x86/mm/numa: Simplify some bit mangling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Bundgaard authored and Ingo Molnar committed Apr 10, 2013
1 parent cd69aa6 commit 7e9a2f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/mm/amdtopology.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7e9a2f0

Please sign in to comment.