[PATCH] uml: remove code controlled by non-existent config option
CONFIG_HOST_TASK_SIZE doesn't exist any more. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0d0d0ed426
commit
92b4202f38
@@ -14,13 +14,9 @@ unsigned long set_task_sizes_skas(unsigned long *task_size_out)
|
|||||||
unsigned long host_task_size = ROUND_4M((unsigned long)
|
unsigned long host_task_size = ROUND_4M((unsigned long)
|
||||||
&host_task_size);
|
&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)
|
if (!skas_needs_stub)
|
||||||
*task_size_out = host_task_size;
|
*task_size_out = host_task_size;
|
||||||
else *task_size_out = CONFIG_STUB_START & PGDIR_MASK;
|
else *task_size_out = CONFIG_STUB_START & PGDIR_MASK;
|
||||||
#endif
|
|
||||||
return host_task_size;
|
return host_task_size;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user