diff options
author | David S. Miller <davem@davemloft.net> | 2014-05-04 09:52:50 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-04 09:52:50 +0400 |
commit | 0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01 (patch) | |
tree | 8db40eb8e8fc2aff33c6f673aebfcf848b268acf /arch/sparc/kernel/head_64.S | |
parent | ee73887e92a69ae0a5cda21c68ea75a27804c944 (diff) | |
download | linux-0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01.tar.xz |
sparc64: Use 'ILOG2_4MB' instead of constant '22'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/head_64.S')
-rw-r--r-- | arch/sparc/kernel/head_64.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/head_64.S b/arch/sparc/kernel/head_64.S index 26b706a1867d..452f04fe8da6 100644 --- a/arch/sparc/kernel/head_64.S +++ b/arch/sparc/kernel/head_64.S @@ -282,8 +282,8 @@ sun4v_chip_type: stx %l2, [%l4 + 0x0] ldx [%sp + 2047 + 128 + 0x50], %l3 ! physaddr low /* 4MB align */ - srlx %l3, 22, %l3 - sllx %l3, 22, %l3 + srlx %l3, ILOG2_4MB, %l3 + sllx %l3, ILOG2_4MB, %l3 stx %l3, [%l4 + 0x8] /* Leave service as-is, "call-method" */ |