mm-add-setup_initial_init_mm-helper.patch removed from -mm tree
The patch titled
Subject: mm: add setup_initial_init_mm() helper
has been removed from the -mm tree. Its filename was
mm-add-setup_initial_init_mm-helper.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: add setup_initial_init_mm() helper
Patch series "init_mm: cleanup ARCH's text/data/brk setup code", v3.
Add setup_initial_init_mm() helper, then use it to cleanup the text, data and brk setup code.
This patch (of 15):
Add setup_initial_init_mm() helper to setup kernel text, data and brk.
Signed-off-by Kefeng Wang <[email protected]>
Cc Souptick Joarder <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Greentime Hu <[email protected]>
Cc Greg Ungerer <[email protected]>
Cc Guo Ren <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jonas Bonn <[email protected]>
Cc Ley Foon Tan <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Nick Hu <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Rich Felker <[email protected]>
Cc Russell King (Oracle) <[email protected]>
Cc Stafford Horne <[email protected]>
Cc Stefan Kristiansson <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Vineet Gupta <[email protected]>
Cc Will Deacon <[email protected]>
Cc Yoshinori Sato <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/mm.h | 3 +++ mm/init-mm.c | 9 +++++++++ 2 files changed, 12 insertions(+)
include/linux/mm.h renamed from include/linux/mm.h~mm-add-setup_initial_init_mm-helper +3 -0
@@ -238,6 +238,9 @@ int __add_to_page_cache_locked(struct pa#define lru_to_page (head) (list_entry((head)->prev, struct page, lru)) +void setup_initial_init_mm (void *start_code,void *end_code, +void *end_data,void *brk); +/* * Linux kernel virtual memory manager primitives. * The idea being to have a "virtual" mm in the same way
mm/init-mm.c renamed from mm/init-mm.c~mm-add-setup_initial_init_mm-helper +9 -0
@@ -40,3 +40,12 @@ struct mm_struct init_mm = { .cpu_bitmap = CPU_BITS_NONE, INIT_MM_CONTEXT(init_mm) }; + +void setup_initial_init_mm (void *start_code,void *end_code, +void *end_data,void *brk) +{ + init_mm.start_code = (unsigned long )start_code; + init_mm.end_code = (unsigned long )end_code; + init_mm.end_data = (unsigned long )end_data; + init_mm.brk = (unsigned long )brk; +}
_
Patches currently in -mm which might be from [email protected] are