sh/mm: drop unused MAX_PHYSADDR_BITS
authorArvind Sankar <nivedita@alum.mit.edu>
Wed, 12 Aug 2020 01:32:43 +0000 (18:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:57 +0000 (10:57 -0700)
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: Mike Rapoport <rppt@linux.ibm.com>
Link: http://lkml.kernel.org/r/20200723231544.17274-3-nivedita@alum.mit.edu
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/include/asm/sparsemem.h

index 4eb8997..084706b 100644 (file)
@@ -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