* [PATCH 9/12] UML - Use CONFIG variable for address space size
@ 2005-05-06 22:49 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-05-06 22:49 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel, user-mode-linux-devel, Bodo Stroesser
From: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
tt/mem.c still uses hardcoded TOP for i386 instead of
CONFIG_TOP_ADDR provided by subarch's Kconfig_XXXX,
which would be right.
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.11/arch/um/kernel/tt/mem.c
===================================================================
--- linux-2.6.11.orig/arch/um/kernel/tt/mem.c 2005-04-29 13:44:51.000000000 -0400
+++ linux-2.6.11/arch/um/kernel/tt/mem.c 2005-04-29 15:11:21.000000000 -0400
@@ -21,14 +21,8 @@
remap_data(UML_ROUND_DOWN(&__bss_start), UML_ROUND_UP(&_end), 1);
}
-#ifdef CONFIG_HOST_2G_2G
-#define TOP 0x80000000
-#else
-#define TOP 0xc0000000
-#endif
-
#define SIZE ((CONFIG_NEST_LEVEL + CONFIG_KERNEL_HALF_GIGS) * 0x20000000)
-#define START (TOP - SIZE)
+#define START (CONFIG_TOP_ADDR - SIZE)
unsigned long set_task_sizes_tt(int arg, unsigned long *host_size_out,
unsigned long *task_size_out)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-06 23:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06 22:49 [PATCH 9/12] UML - Use CONFIG variable for address space size Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®