lkml.org 
[lkml]   [2007]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kill vmalloc_earlyreserve
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;



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-12 09:35    [from the cache]
©2003-2011 Jasper Spaans