kill off highmem_start_page (in -mm)
PATCH 2/2 kill off highmem_start_page (in -mm)
This patch should fix kgdb to work without highmem_start_page. However, I don't have a kgdb setup, and I'd appreciate someone testing this to make sure my selection of a new variable is OK.
Also, should this function possibly be using system_state, instead?
Signed-off-by Dave Hansen <[email protected]>
---
memhotplug-dave/arch/i386/lib/kgdb_serial.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
arch/i386/lib/kgdb_serial.c renamed from arch/i386/lib/kgdb_serial.c~A1-no-highmem_start_page-kgdb +1 -1
@@ -407,7 +407,7 @@ void shutdown_for_kgdb(struct async_stru#ifdef CONFIG_DISCONTIGMEM static inline int kgdb_mem_init_done (void ) { -return highmem_start_page !=NULL ; +return totalram_pages !=0 ; }#else static inline int kgdb_mem_init_done (void )
_
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>