diff options
author | David S. Miller <davem@davemloft.net> | 2014-05-03 22:52:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-03 22:52:50 -0700 |
commit | 0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01 (patch) | |
tree | 8db40eb8e8fc2aff33c6f673aebfcf848b268acf /arch/sparc/kernel/ktlb.S | |
parent | ee73887e92a69ae0a5cda21c68ea75a27804c944 (diff) | |
download | linux-0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01.tar.gz linux-0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01.tar.bz2 linux-0eef331a3d0ee970dcbebd1bd5fcb57ca33ece01.zip |
sparc64: Use 'ILOG2_4MB' instead of constant '22'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ktlb.S')
-rw-r--r-- | arch/sparc/kernel/ktlb.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/ktlb.S b/arch/sparc/kernel/ktlb.S index 542e96ac4d39..605d49204580 100644 --- a/arch/sparc/kernel/ktlb.S +++ b/arch/sparc/kernel/ktlb.S @@ -277,7 +277,7 @@ kvmap_dtlb_load: #ifdef CONFIG_SPARSEMEM_VMEMMAP kvmap_vmemmap: sub %g4, %g5, %g5 - srlx %g5, 22, %g5 + srlx %g5, ILOG2_4MB, %g5 sethi %hi(vmemmap_table), %g1 sllx %g5, 3, %g5 or %g1, %lo(vmemmap_table), %g1 |