aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch')
-rw-r--r--recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch b/recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch
new file mode 100644
index 0000000000..7c1df3021f
--- /dev/null
+++ b/recipes/linux-uml/linux-uml-2.6.11-rc2-mm1/compile-fix.patch
@@ -0,0 +1,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 };