mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 10:40:53 +07:00
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:
parent
cd69aa6b38
commit
7e9a2f0a08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user