2007-01-09 02:12:31

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 7/7] UML - Remove code controlled by non-existent config option

CONFIG_HOST_TASK_SIZE doesn't exist any more.

Signed-off-by: Jeff Dike <[email protected]>
--
arch/um/kernel/skas/mem.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

Index: linux-2.6.18-mm/arch/um/kernel/skas/mem.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/kernel/skas/mem.c 2006-12-29 12:20:14.000000000 -0500
+++ linux-2.6.18-mm/arch/um/kernel/skas/mem.c 2007-01-08 16:48:42.000000000 -0500
@@ -14,13 +14,9 @@ unsigned long set_task_sizes_skas(unsign
unsigned long host_task_size = ROUND_4M((unsigned long)
&host_task_size);

-#ifdef CONFIG_HOST_TASK_SIZE
- *host_size_out = ROUND_4M(CONFIG_HOST_TASK_SIZE);
- *task_size_out = CONFIG_HOST_TASK_SIZE;
-#else
if (!skas_needs_stub)
*task_size_out = host_task_size;
else *task_size_out = CONFIG_STUB_START & PGDIR_MASK;
-#endif
+
return host_task_size;
}