aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-08-11 18:32:43 -0700
committerLinus Torvalds <[email protected]>2020-08-12 10:57:57 -0700
commitc56771b3095d4f1af82847081b6781fc03a13904 (patch)
tree67de07e4bfa39b7a1fb5527057834982b5761e30
parent0845f83122d93ae3bafa7ea10209de2148a3b9bc (diff)
sh/mm: drop unused MAX_PHYSADDR_BITS
The macro is not used anywhere, so remove the definition. Signed-off-by: Arvind Sankar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Dave Hansen <[email protected]> Acked-by: Mike Rapoport <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--arch/sh/include/asm/sparsemem.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/include/asm/sparsemem.h b/arch/sh/include/asm/sparsemem.h
index 4eb899751e45..084706bb8cca 100644
--- a/arch/sh/include/asm/sparsemem.h
+++ b/arch/sh/include/asm/sparsemem.h
@@ -5,11 +5,9 @@
#ifdef __KERNEL__
/*
* SECTION_SIZE_BITS 2^N: how big each section will be
- * MAX_PHYSADDR_BITS 2^N: how much physical address space we have
- * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space
+ * MAX_PHYSMEM_BITS 2^N: how much physical address space we have
*/
#define SECTION_SIZE_BITS 26
-#define MAX_PHYSADDR_BITS 32
#define MAX_PHYSMEM_BITS 32
#endif