[PATCH] um: mmu: remove stub_pages

Johannes Berg johannes at sipsolutions.net
Mon Sep 25 12:29:48 PDT 2023


From: Johannes Berg <johannes.berg at intel.com>

I removed all the users of this some time ago, but
evidently forgot the pointers. Remove them from the
data structure too.

Fixes: bfc58e2b98e9 ("um: remove process stub VMA")
Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 arch/um/include/asm/mmu.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/um/include/asm/mmu.h b/arch/um/include/asm/mmu.h
index 5b072aba5b65..a7555e43ed14 100644
--- a/arch/um/include/asm/mmu.h
+++ b/arch/um/include/asm/mmu.h
@@ -12,7 +12,6 @@
 typedef struct mm_context {
 	struct mm_id id;
 	struct uml_arch_mm_context arch;
-	struct page *stub_pages[2];
 } mm_context_t;
 
 extern void __switch_mm(struct mm_id * mm_idp);
-- 
2.41.0




More information about the linux-um mailing list