x86/mm/numa: Simplify some bit mangling
authorMartin Bundgaard <[email protected]>
Thu, 14 Mar 2013 18:34:35 +0000 (19:34 +0100)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/mm/amdtopology.c

index 5247d01329ca96de7e9eacbb3f2511ff8f9c3a59..2ca15b59fb3f823a0e900918bac6042b49ec2fab 100644 (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;