Skip to contentSkip to conversation

sh-drop-include-asm-sparsememh.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 24

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: sh: drop include/asm/sparsemem.h
has been removed from the -mm tree. Its filename was
sh-drop-include-asm-sparsememh.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: "Mike Rapoport (Microsoft)" <[email protected]>
Subject: sh: drop include/asm/sparsemem.h
Date: Sun, 10 May 2026 16:55:46 +0300

Move MAX_PHYSMEM_BITS declaration to include/asm/mmu.h and drop now unneeded include/asm/sparsemem.h

---

 arch/sh/include/asm/mmu.h       |    2 ++
 arch/sh/include/asm/sparsemem.h |   12 ------------
 arch/sh/kernel/setup.c          |    1 -
 3 files changed, 2 insertions(+), 13 deletions(-)
arch/sh/include/asm/mmu.h renamed from arch/sh/include/asm/mmu.h~sh-drop-include-asm-sparsememh +2 -0
@@ -2,6 +2,8 @@
 #ifndef __MMU_H
 #define __MMU_H
 
+#define MAX_PHYSMEM_BITS	32
+
 /*
  * Privileged Space Mapping Buffer (PMB) definitions
  */
arch/sh/include/asm/sparsemem.h deleted +0 -12
deleted file mode 100644
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ASM_SH_SPARSEMEM_H
-#define __ASM_SH_SPARSEMEM_H
-
-/*
- * SECTION_SIZE_BITS		2^N: how big each section will be
- * MAX_PHYSMEM_BITS		2^N: how much physical address space we have
- */
-#define SECTION_SIZE_BITS	26
-#define MAX_PHYSMEM_BITS	32
-
-#endif /* __ASM_SH_SPARSEMEM_H */
arch/sh/kernel/setup.c renamed from arch/sh/kernel/setup.c~sh-drop-include-asm-sparsememh +0 -1
@@ -41,7 +41,6 @@
 #include <asm/smp.h>
 #include <asm/mmu_context.h>
 #include <asm/processor.h>
-#include <asm/sparsemem.h>
 #include <asm/platform_early.h>
 
 /*

_

Patches currently in -mm which might be from [email protected] are