lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 4 Aug 2006 07:13:57 -0600
From:	Keith Mannthey <kmannth@...ibm.com>
To:	linux-kernel@...r.kernel.org
Cc:	akpm@...l.org, discuss@...-64.org,
	Keith Mannthey <kmannth@...ibm.com>, ak@...e.de,
	lhms-devel@...ts.sourceforge.net, kamezawa.hiroyu@...fujitsu.com
Subject: [PATCH 2/10] hot-add-mem x86_64: fixup externs

From: Keith Mannthey <kmannth@...ibm.com>

fixup externs in memory_hotplug.c.  Cleanup. 

Signed-off-by: Keith Mannthey<kmannth@...ibm.com>
---
 include/linux/memory_hotplug.h |    2 ++
 include/linux/mm.h             |    2 ++
 mm/memory_hotplug.c            |    4 ----
 3 files changed, 4 insertions(+), 4 deletions(-)

diff -urN orig/include/linux/memory_hotplug.h current/include/linux/memory_hotplug.h
--- orig/include/linux/memory_hotplug.h	2006-08-04 00:41:19.000000000 -0400
+++ current/include/linux/memory_hotplug.h	2006-08-04 00:50:34.000000000 -0400
@@ -172,5 +172,7 @@
 extern int add_memory(int nid, u64 start, u64 size);
 extern int arch_add_memory(int nid, u64 start, u64 size);
 extern int remove_memory(u64 start, u64 size);
+extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn,
+								int nr_pages);
 
 #endif /* __LINUX_MEMORY_HOTPLUG_H */
diff -urN orig/include/linux/mm.h current/include/linux/mm.h
--- orig/include/linux/mm.h	2006-08-04 00:41:19.000000000 -0400
+++ current/include/linux/mm.h	2006-08-04 00:47:49.000000000 -0400
@@ -884,6 +884,8 @@
 extern void show_mem(void);
 extern void si_meminfo(struct sysinfo * val);
 extern void si_meminfo_node(struct sysinfo *val, int nid);
+extern void zonetable_add(struct zone *zone, int nid, int zid, 
+					unsigned long pfn, unsigned long size);
 
 #ifdef CONFIG_NUMA
 extern void setup_per_cpu_pageset(void);
diff -urN orig/mm/memory_hotplug.c current/mm/memory_hotplug.c
--- orig/mm/memory_hotplug.c	2006-08-04 00:42:02.000000000 -0400
+++ current/mm/memory_hotplug.c	2006-08-04 00:47:49.000000000 -0400
@@ -24,8 +24,6 @@
 
 #include <asm/tlbflush.h>
 
-extern void zonetable_add(struct zone *zone, int nid, int zid, unsigned long pfn,
-			  unsigned long size);
 static int __add_zone(struct zone *zone, unsigned long phys_start_pfn)
 {
 	struct pglist_data *pgdat = zone->zone_pgdat;
@@ -45,8 +43,6 @@
 	return 0;
 }
 
-extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn,
-				  int nr_pages);
 static int __add_section(struct zone *zone, unsigned long phys_start_pfn)
 {
 	int nr_pages = PAGES_PER_SECTION;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ