* [patch 2/2] kill off highmem_start_page (in -mm)
@ 2004-11-17 21:18 Dave Hansen
0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2004-11-17 21:18 UTC (permalink / raw)
To: akpm; +Cc: george, linux-mm, Dave Hansen
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 <haveblue@us.ibm.com>
---
memhotplug-dave/arch/i386/lib/kgdb_serial.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/i386/lib/kgdb_serial.c~A1-no-highmem_start_page-kgdb arch/i386/lib/kgdb_serial.c
--- memhotplug/arch/i386/lib/kgdb_serial.c~A1-no-highmem_start_page-kgdb 2004-11-17 13:10:33.000000000 -0800
+++ memhotplug-dave/arch/i386/lib/kgdb_serial.c 2004-11-17 13:10:33.000000000 -0800
@@ -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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-17 21:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17 21:18 [patch 2/2] kill off highmem_start_page (in -mm) Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox