summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-08-12 03:32:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 19:57:57 +0200
commit6f8c00ff5aa88c847af9af35131d72fae480b566 (patch)
tree9737f0195bd477d28fdceb0b6c6523edce812d4a /arch/sparc
parentsh/mm: drop unused MAX_PHYSADDR_BITS (diff)
downloadlinux-6f8c00ff5aa88c847af9af35131d72fae480b566.tar.xz
linux-6f8c00ff5aa88c847af9af35131d72fae480b566.zip
sparc: drop unused MAX_PHYSADDR_BITS
The macro is not used anywhere, so remove the definition. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Mike Rapoport <rppt@linux.ibm.com> Link: http://lkml.kernel.org/r/20200723231544.17274-4-nivedita@alum.mit.edu Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/sparsemem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/sparsemem.h b/arch/sparc/include/asm/sparsemem.h
index 1dd1b61432db..aa9a676bc341 100644
--- a/arch/sparc/include/asm/sparsemem.h
+++ b/arch/sparc/include/asm/sparsemem.h
@@ -7,7 +7,6 @@
#include <asm/page.h>
#define SECTION_SIZE_BITS 30
-#define MAX_PHYSADDR_BITS MAX_PHYS_ADDRESS_BITS
#define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS
#endif /* !(__KERNEL__) */