git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
um
/
kernel
/
skas
/
mem.c
diff --git
a/arch/um/kernel/skas/mem.c
b/arch/um/kernel/skas/mem.c
index
ec169a8
..
438db2f
100644
(file)
--- a/
arch/um/kernel/skas/mem.c
+++ b/
arch/um/kernel/skas/mem.c
@@
-13,8
+13,13
@@
unsigned long set_task_sizes_skas(int arg, unsigned long *host_size_out,
/* Round up to the nearest 4M */
unsigned long top = ROUND_4M((unsigned long) &arg);
/* Round up to the nearest 4M */
unsigned long top = ROUND_4M((unsigned long) &arg);
+#ifdef CONFIG_HOST_TASK_SIZE
+ *host_size_out = CONFIG_HOST_TASK_SIZE;
+ *task_size_out = CONFIG_HOST_TASK_SIZE;
+#else
*host_size_out = top;
*task_size_out = top;
*host_size_out = top;
*task_size_out = top;
+#endif
return(((unsigned long) set_task_sizes_skas) & ~0xffffff);
}
return(((unsigned long) set_task_sizes_skas) & ~0xffffff);
}