kill vmalloc_earlyreserve
This symbol got orphaned quite a while ago. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
45e98cdb6d
commit
8f0accc862
@@ -79,7 +79,7 @@ void paging_init(void);
|
|||||||
* area for the same reason. ;)
|
* area for the same reason. ;)
|
||||||
*/
|
*/
|
||||||
#define VMALLOC_OFFSET (8*1024*1024)
|
#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))
|
2*VMALLOC_OFFSET-1) & ~(VMALLOC_OFFSET-1))
|
||||||
#ifdef CONFIG_HIGHMEM
|
#ifdef CONFIG_HIGHMEM
|
||||||
# define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
|
# define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
|
||||||
|
@@ -27,7 +27,6 @@ extern unsigned long max_mapnr;
|
|||||||
|
|
||||||
extern unsigned long num_physpages;
|
extern unsigned long num_physpages;
|
||||||
extern void * high_memory;
|
extern void * high_memory;
|
||||||
extern unsigned long vmalloc_earlyreserve;
|
|
||||||
extern int page_cluster;
|
extern int page_cluster;
|
||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
|
@@ -78,11 +78,9 @@ unsigned long num_physpages;
|
|||||||
* and ZONE_HIGHMEM.
|
* and ZONE_HIGHMEM.
|
||||||
*/
|
*/
|
||||||
void * high_memory;
|
void * high_memory;
|
||||||
unsigned long vmalloc_earlyreserve;
|
|
||||||
|
|
||||||
EXPORT_SYMBOL(num_physpages);
|
EXPORT_SYMBOL(num_physpages);
|
||||||
EXPORT_SYMBOL(high_memory);
|
EXPORT_SYMBOL(high_memory);
|
||||||
EXPORT_SYMBOL(vmalloc_earlyreserve);
|
|
||||||
|
|
||||||
int randomize_va_space __read_mostly = 1;
|
int randomize_va_space __read_mostly = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user