[PATCH 7/7] UML - Remove code controlled by non-existent config option

From: Jeff Dike
Date: Mon Jan 08 2007 - 21:13:32 EST


CONFIG_HOST_TASK_SIZE doesn't exist any more.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>
--
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;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/