summaryrefslogtreecommitdiff
path: root/recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch
blob: 7c1df3021f6fc7c071b32695774f480dd037f963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- linux-2.6.10/arch/um/kernel/process.c~compile-fix	2005-01-28 19:57:29.207418000 +0100
+++ linux-2.6.10/arch/um/kernel/process.c	2005-01-28 20:05:37.811027882 +0100
@@ -28,6 +28,7 @@
 #include "sysdep/sigcontext.h"
 #include "irq_user.h"
 #include "ptrace_user.h"
+#include <linux/ptrace.h>
 #include "time_user.h"
 #include "init.h"
 #include "os.h"
--- linux-2.6.10/arch/um/kernel/user_util.c~compile-fix	2005-01-28 20:10:41.565297000 +0100
+++ linux-2.6.10/arch/um/kernel/user_util.c	2005-01-28 20:10:49.373290402 +0100
@@ -31,7 +31,7 @@
 #include "helper.h"
 #include "uml-config.h"
 
-#define COMMAND_LINE_SIZE _POSIX_ARG_MAX
+#define COMMAND_LINE_SIZE 4096
 
 /* Changed in linux_main and setup_arch, which run before SMP is started */
 char command_line[COMMAND_LINE_SIZE] = { 0 };