mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kill vmalloc_earlyreserve
@ 2007-06-12  7:32 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2007-06-12  7:32 UTC (permalink / raw)
  To: linux-kernel

This symbol got orphaned quite a while ago.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

 include/asm-i386/pgtable.h |    2 +-
 include/linux/mm.h         |    1 -
 mm/memory.c                |    2 --
 3 files changed, 1 insertion(+), 4 deletions(-)

--- linux-2.6.22-rc4/include/asm-i386/pgtable.h	2007-06-11 18:10:43.000000000 +0200
+++ 2.6.22-rc4-vmalloc_earlyreserve/include/asm-i386/pgtable.h	2007-06-01 17:45:08.000000000 +0200
@@ -79,7 +79,7 @@ void paging_init(void);
  * area for the same reason. ;)
  */
 #define VMALLOC_OFFSET	(8*1024*1024)
-#define VMALLOC_START	(((unsigned long) high_memory + vmalloc_earlyreserve + \
+#define VMALLOC_START	(((unsigned long) high_memory + \
 			2*VMALLOC_OFFSET-1) & ~(VMALLOC_OFFSET-1))
 #ifdef CONFIG_HIGHMEM
 # define VMALLOC_END	(PKMAP_BASE-2*PAGE_SIZE)
--- linux-2.6.22-rc4/include/linux/mm.h	2007-06-11 18:10:49.000000000 +0200
+++ 2.6.22-rc4-vmalloc_earlyreserve/include/linux/mm.h	2007-06-04 09:52:46.000000000 +0200
@@ -27,7 +27,6 @@ extern unsigned long max_mapnr;
 
 extern unsigned long num_physpages;
 extern void * high_memory;
-extern unsigned long vmalloc_earlyreserve;
 extern int page_cluster;
 
 #ifdef CONFIG_SYSCTL
--- linux-2.6.22-rc4/mm/memory.c	2007-06-11 18:10:51.000000000 +0200
+++ 2.6.22-rc4-vmalloc_earlyreserve/mm/memory.c	2007-06-01 17:45:08.000000000 +0200
@@ -78,11 +78,9 @@ unsigned long num_physpages;
  * and ZONE_HIGHMEM.
  */
 void * high_memory;
-unsigned long vmalloc_earlyreserve;
 
 EXPORT_SYMBOL(num_physpages);
 EXPORT_SYMBOL(high_memory);
-EXPORT_SYMBOL(vmalloc_earlyreserve);
 
 int randomize_va_space __read_mostly = 1;
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-12  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12  7:32 [PATCH] kill vmalloc_earlyreserve Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®