|
@@ -56,8 +56,7 @@ void paging_init(void);
|
|
|
* area for the same reason. ;)
|
|
|
*/
|
|
|
#define VMALLOC_OFFSET (8 * 1024 * 1024)
|
|
|
-#define VMALLOC_START (((unsigned long)high_memory + 2 * VMALLOC_OFFSET - 1) \
|
|
|
- & ~(VMALLOC_OFFSET - 1))
|
|
|
+#define VMALLOC_START ((unsigned long)high_memory + VMALLOC_OFFSET)
|
|
|
#ifdef CONFIG_X86_PAE
|
|
|
#define LAST_PKMAP 512
|
|
|
#else
|
|
@@ -73,6 +72,8 @@ void paging_init(void);
|
|
|
# define VMALLOC_END (FIXADDR_START - 2 * PAGE_SIZE)
|
|
|
#endif
|
|
|
|
|
|
+#define MAXMEM (VMALLOC_END - PAGE_OFFSET - __VMALLOC_RESERVE)
|
|
|
+
|
|
|
/*
|
|
|
* Define this if things work differently on an i386 and an i486:
|
|
|
* it will (on an i486) warn about kernel memory accesses that are
|