aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorGary Hade <garyhade@us.ibm.com>2008-10-28 19:43:14 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-29 04:29:22 -0400
commitfe8b868eccb9f85a0e231e35f0abac5b39bac801 (patch)
tree4b8d27341a1f88efee15901d6cc7c8bb1c4cf683 /arch/x86/mm
parent1d6cf1feb854c53c6d59e0d879603692b379e208 (diff)
x86: remove debug code from arch_add_memory()
Impact: remove incorrect WARN_ON(1) Gets rid of dmesg spam created during physical memory hot-add which will very likely confuse users. The change removes what appears to be debugging code which I assume was unintentionally included in: x86: arch/x86/mm/init_64.c printk fixes commit 10f22dde556d1ed41d55355d1fb8ad495f9810c8 Signed-off-by: Gary Hade <garyhade@us.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/init_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index ebe1811e5b1e..9db01db6e3cd 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -858,7 +858,7 @@ int arch_add_memory(int nid, u64 start, u64 size)
858 max_pfn_mapped = last_mapped_pfn; 858 max_pfn_mapped = last_mapped_pfn;
859 859
860 ret = __add_pages(zone, start_pfn, nr_pages); 860 ret = __add_pages(zone, start_pfn, nr_pages);
861 WARN_ON(1); 861 WARN_ON_ONCE(ret);
862 862
863 return ret; 863 return ret;
864} 864}