The patch titled Subject: sh/mm: drop unused MAX_PHYSADDR_BITS has been added to the -mm tree. Its filename is sh-mm-drop-unused-max_physaddr_bits.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/sh-mm-drop-unused-max_physaddr_bits.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/sh-mm-drop-unused-max_physaddr_bits.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Arvind Sankar <nivedita@xxxxxxxxxxxx> Subject: sh/mm: drop unused MAX_PHYSADDR_BITS The macro is not used anywhere, so remove the definition. Link: http://lkml.kernel.org/r/20200723231544.17274-3-nivedita@xxxxxxxxxxxx Signed-off-by: Arvind Sankar <nivedita@xxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/sh/include/asm/sparsemem.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/arch/sh/include/asm/sparsemem.h~sh-mm-drop-unused-max_physaddr_bits +++ a/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 _ Patches currently in -mm which might be from nivedita@xxxxxxxxxxxx are x86-mm-drop-unused-max_physaddr_bits.patch sh-mm-drop-unused-max_physaddr_bits.patch sparc-drop-unused-max_physaddr_bits.patch