Skip to contentSkip to conversation

powerpc-remove-savemaxmem-parameter-setup.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013 PowerPC

lore
Share & tools
lore
#0 lore raw

Subject: [merged] powerpc-remove-savemaxmem-parameter-setup.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:36:23 -0700

The patch titled
Subject: powerpc: Remove savemaxmem parameter setup
has been removed from the -mm tree. Its filename was
powerpc-remove-savemaxmem-parameter-setup.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Zhang Yanfei <[email protected]>
Subject: powerpc: Remove savemaxmem parameter setup

saved_max_pfn is used to know the amount of memory that the previous kernel used. And for powerpc, we set saved_max_pfn by passing the kernel commandline parameter "savemaxmem=".

The only user of saved_max_pfn in powerpc is read_oldmem interface. Since we have removed read_oldmem, we don't need this parameter anymore.

Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc "Eric W. Biederman" <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Fenghua Yu <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Matt Fleming <[email protected]>
Cc Michael Holzheu <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc Tony Luck <[email protected]>
Cc Vivek Goyal <[email protected]>

---

 arch/powerpc/kernel/crash_dump.c |   10 ----------
 1 file changed, 10 deletions(-)
arch/powerpc/kernel/crash_dump.c renamed from arch/powerpc/kernel/crash_dump.c~powerpc-remove-savemaxmem-parameter-setup +0 -10
diff -puN arch/powerpc/kernel/crash_dump.c~powerpc-remove-savemaxmem-parameter-setup arch/powerpc/kernel/crash_dump.c
@@ -69,16 +69,6 @@ void __init setup_kdump_trampoline(void)
 }
 #endif /* CONFIG_NONSTATIC_KERNEL */
 
-static int __init parse_savemaxmem(char *p)
-{
-	if (p)
-		saved_max_pfn = (memparse(p, &p) >> PAGE_SHIFT) - 1;
-
-	return 1;
-}
-__setup("savemaxmem=", parse_savemaxmem);
-
-
 static size_t copy_oldmem_vaddr(void *vaddr, char *buf, size_t csize,
                                unsigned long offset, int userbuf)
 {

_

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

origin.patch
linux-next.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2-fix.patch mm-vmallocc-unbreak-__vunmap.patch mm-vmallocc-remove-dead-code-in-vb_alloc.patch mm-vmallocc-remove-unused-purge_fragmented_blocks_thiscpu.patch mm-vmallocc-remove-alloc_map-from-vmap_block.patch mm-vmallocc-emit-the-failure-message-before-return.patch mm-vmallocc-rename-vm_unlist-to-vm_uninitialized.patch mm-vmallocc-check-vm_uninitialized-flag-in-s_show-instead-of-show_numa_info.patch include-linux-gfph-fix-the-comment-for-gfp_zone_table.patch mm-remove-zone_type-argument-of-build_zonelists_node.patch mm-remove-unused-functions-is_normal_idx-normal-dma32-dma.patch mm-remove-unlikely-from-the-current_order-test.patch mm-remove-unused-__put_page.patch mm-sparsec-put-clear_hwpoisoned_pages-within-config_memory_hotremove.patch mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch mm-vmallocc-fix-an-overflow-bug-in-alloc_vmap_area.patch