diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-06-12 17:57:19 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-06-12 17:57:19 +0000 |
commit | 285af2ff0847a326f6164fc1f63605fdf53c5fb8 (patch) | |
tree | 9349dbb34c82f8f6f303b795a956e82f5ecc068c /target/linux/uml/patches-3.8 | |
parent | 691d7bbbf7e8a588b8b68660e08561f1e698a56b (diff) | |
download | upstream-285af2ff0847a326f6164fc1f63605fdf53c5fb8.tar.gz upstream-285af2ff0847a326f6164fc1f63605fdf53c5fb8.tar.bz2 upstream-285af2ff0847a326f6164fc1f63605fdf53c5fb8.zip |
Update UML target to 3.10 and various improvements
Updated target to 3.10.36.
Added mconsole exec patch.
Added pseudo-random MAC patch (from NetKit).
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Reviewed-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41172
Diffstat (limited to 'target/linux/uml/patches-3.8')
3 files changed, 0 insertions, 248 deletions
diff --git a/target/linux/uml/patches-3.8/001-fix_make_headers_install.patch b/target/linux/uml/patches-3.8/001-fix_make_headers_install.patch deleted file mode 100644 index 0f872c0ec2..0000000000 --- a/target/linux/uml/patches-3.8/001-fix_make_headers_install.patch +++ /dev/null @@ -1,213 +0,0 @@ -From faec6b6c2cc0219e74569c13f581fc11d8f3fc57 Mon Sep 17 00:00:00 2001 -From: Florian Fainelli <florian@openwrt.org> -Date: Sun, 17 Mar 2013 20:12:10 +0100 -Subject: [PATCH] UM: fix make headers_install after UAPI header installation - -Commit 10b63956 (UAPI: Plumb the UAPI Kbuilds into the user -header installation and checking) breaks UML make headers_install with -the following: - -$ ARCH=um make headers_install - CHK include/generated/uapi/linux/version.h - UPD include/generated/uapi/linux/version.h - HOSTCC scripts/basic/fixdep - WRAP arch/um/include/generated/asm/bug.h -[snip] - WRAP arch/um/include/generated/asm/trace_clock.h - SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h - SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h - SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h - SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h - HOSTCC scripts/unifdef -Makefile:912: *** Headers not exportable for the um architecture. Stop. -zsh: exit 2 ARCH=um make headers_install - -The reason for that is because the top-level Makefile does the -following: - $(if $(wildcard $(srctree)/arch/$(hdr-arch)/include/uapi/asm/Kbuild),, \ - $(error Headers not exportable for the $(SRCARCH) architecture)) - -we end-up in the else part of the $(if) statement because UML still uses -the old path in arch/um/include/asm/Kbuild. This patch fixes the issue -by moving the header files to be in arch/um/include/uapi/asm/ thus -making headers_install (and other make targets checking for uapi) to -succeed. - -Signed-off-by: Florian Fainelli <florian@openwrt.org> ---- -Richard, this has been broken for 3.7+ onwards, if you want me to send -you separate patches for 3.7 and 3.8 let me know. Thanks! - - arch/um/include/{ => uapi}/asm/Kbuild | 0 - arch/um/include/{ => uapi}/asm/a.out-core.h | 0 - arch/um/include/{ => uapi}/asm/bugs.h | 0 - arch/um/include/{ => uapi}/asm/cache.h | 0 - arch/um/include/{ => uapi}/asm/common.lds.S | 0 - arch/um/include/{ => uapi}/asm/dma.h | 0 - arch/um/include/{ => uapi}/asm/fixmap.h | 0 - arch/um/include/{ => uapi}/asm/irq.h | 0 - arch/um/include/{ => uapi}/asm/irqflags.h | 0 - arch/um/include/{ => uapi}/asm/kmap_types.h | 0 - arch/um/include/{ => uapi}/asm/kvm_para.h | 0 - arch/um/include/{ => uapi}/asm/mmu.h | 0 - arch/um/include/{ => uapi}/asm/mmu_context.h | 0 - arch/um/include/{ => uapi}/asm/page.h | 0 - arch/um/include/{ => uapi}/asm/pgalloc.h | 0 - arch/um/include/{ => uapi}/asm/pgtable-2level.h | 0 - arch/um/include/{ => uapi}/asm/pgtable-3level.h | 0 - arch/um/include/{ => uapi}/asm/pgtable.h | 0 - arch/um/include/{ => uapi}/asm/processor-generic.h | 0 - arch/um/include/{ => uapi}/asm/ptrace-generic.h | 0 - arch/um/include/{ => uapi}/asm/setup.h | 0 - arch/um/include/{ => uapi}/asm/smp.h | 0 - arch/um/include/{ => uapi}/asm/sysrq.h | 0 - arch/um/include/{ => uapi}/asm/thread_info.h | 0 - arch/um/include/{ => uapi}/asm/timex.h | 0 - arch/um/include/{ => uapi}/asm/tlb.h | 0 - arch/um/include/{ => uapi}/asm/tlbflush.h | 0 - arch/um/include/{ => uapi}/asm/uaccess.h | 0 - 28 files changed, 0 insertions(+), 0 deletions(-) - rename arch/um/include/{ => uapi}/asm/Kbuild (100%) - rename arch/um/include/{ => uapi}/asm/a.out-core.h (100%) - rename arch/um/include/{ => uapi}/asm/bugs.h (100%) - rename arch/um/include/{ => uapi}/asm/cache.h (100%) - rename arch/um/include/{ => uapi}/asm/common.lds.S (100%) - rename arch/um/include/{ => uapi}/asm/dma.h (100%) - rename arch/um/include/{ => uapi}/asm/fixmap.h (100%) - rename arch/um/include/{ => uapi}/asm/irq.h (100%) - rename arch/um/include/{ => uapi}/asm/irqflags.h (100%) - rename arch/um/include/{ => uapi}/asm/kmap_types.h (100%) - rename arch/um/include/{ => uapi}/asm/kvm_para.h (100%) - rename arch/um/include/{ => uapi}/asm/mmu.h (100%) - rename arch/um/include/{ => uapi}/asm/mmu_context.h (100%) - rename arch/um/include/{ => uapi}/asm/page.h (100%) - rename arch/um/include/{ => uapi}/asm/pgalloc.h (100%) - rename arch/um/include/{ => uapi}/asm/pgtable-2level.h (100%) - rename arch/um/include/{ => uapi}/asm/pgtable-3level.h (100%) - rename arch/um/include/{ => uapi}/asm/pgtable.h (100%) - rename arch/um/include/{ => uapi}/asm/processor-generic.h (100%) - rename arch/um/include/{ => uapi}/asm/ptrace-generic.h (100%) - rename arch/um/include/{ => uapi}/asm/setup.h (100%) - rename arch/um/include/{ => uapi}/asm/smp.h (100%) - rename arch/um/include/{ => uapi}/asm/sysrq.h (100%) - rename arch/um/include/{ => uapi}/asm/thread_info.h (100%) - rename arch/um/include/{ => uapi}/asm/timex.h (100%) - rename arch/um/include/{ => uapi}/asm/tlb.h (100%) - rename arch/um/include/{ => uapi}/asm/tlbflush.h (100%) - rename arch/um/include/{ => uapi}/asm/uaccess.h (100%) - -diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/uapi/asm/Kbuild -similarity index 100% -rename from arch/um/include/asm/Kbuild -rename to arch/um/include/uapi/asm/Kbuild -diff --git a/arch/um/include/asm/a.out-core.h b/arch/um/include/uapi/asm/a.out-core.h -similarity index 100% -rename from arch/um/include/asm/a.out-core.h -rename to arch/um/include/uapi/asm/a.out-core.h -diff --git a/arch/um/include/asm/bugs.h b/arch/um/include/uapi/asm/bugs.h -similarity index 100% -rename from arch/um/include/asm/bugs.h -rename to arch/um/include/uapi/asm/bugs.h -diff --git a/arch/um/include/asm/cache.h b/arch/um/include/uapi/asm/cache.h -similarity index 100% -rename from arch/um/include/asm/cache.h -rename to arch/um/include/uapi/asm/cache.h -diff --git a/arch/um/include/asm/common.lds.S b/arch/um/include/uapi/asm/common.lds.S -similarity index 100% -rename from arch/um/include/asm/common.lds.S -rename to arch/um/include/uapi/asm/common.lds.S -diff --git a/arch/um/include/asm/dma.h b/arch/um/include/uapi/asm/dma.h -similarity index 100% -rename from arch/um/include/asm/dma.h -rename to arch/um/include/uapi/asm/dma.h -diff --git a/arch/um/include/asm/fixmap.h b/arch/um/include/uapi/asm/fixmap.h -similarity index 100% -rename from arch/um/include/asm/fixmap.h -rename to arch/um/include/uapi/asm/fixmap.h -diff --git a/arch/um/include/asm/irq.h b/arch/um/include/uapi/asm/irq.h -similarity index 100% -rename from arch/um/include/asm/irq.h -rename to arch/um/include/uapi/asm/irq.h -diff --git a/arch/um/include/asm/irqflags.h b/arch/um/include/uapi/asm/irqflags.h -similarity index 100% -rename from arch/um/include/asm/irqflags.h -rename to arch/um/include/uapi/asm/irqflags.h -diff --git a/arch/um/include/asm/kmap_types.h b/arch/um/include/uapi/asm/kmap_types.h -similarity index 100% -rename from arch/um/include/asm/kmap_types.h -rename to arch/um/include/uapi/asm/kmap_types.h -diff --git a/arch/um/include/asm/kvm_para.h b/arch/um/include/uapi/asm/kvm_para.h -similarity index 100% -rename from arch/um/include/asm/kvm_para.h -rename to arch/um/include/uapi/asm/kvm_para.h -diff --git a/arch/um/include/asm/mmu.h b/arch/um/include/uapi/asm/mmu.h -similarity index 100% -rename from arch/um/include/asm/mmu.h -rename to arch/um/include/uapi/asm/mmu.h -diff --git a/arch/um/include/asm/mmu_context.h b/arch/um/include/uapi/asm/mmu_context.h -similarity index 100% -rename from arch/um/include/asm/mmu_context.h -rename to arch/um/include/uapi/asm/mmu_context.h -diff --git a/arch/um/include/asm/page.h b/arch/um/include/uapi/asm/page.h -similarity index 100% -rename from arch/um/include/asm/page.h -rename to arch/um/include/uapi/asm/page.h -diff --git a/arch/um/include/asm/pgalloc.h b/arch/um/include/uapi/asm/pgalloc.h -similarity index 100% -rename from arch/um/include/asm/pgalloc.h -rename to arch/um/include/uapi/asm/pgalloc.h -diff --git a/arch/um/include/asm/pgtable-2level.h b/arch/um/include/uapi/asm/pgtable-2level.h -similarity index 100% -rename from arch/um/include/asm/pgtable-2level.h -rename to arch/um/include/uapi/asm/pgtable-2level.h -diff --git a/arch/um/include/asm/pgtable-3level.h b/arch/um/include/uapi/asm/pgtable-3level.h -similarity index 100% -rename from arch/um/include/asm/pgtable-3level.h -rename to arch/um/include/uapi/asm/pgtable-3level.h -diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/uapi/asm/pgtable.h -similarity index 100% -rename from arch/um/include/asm/pgtable.h -rename to arch/um/include/uapi/asm/pgtable.h -diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/uapi/asm/processor-generic.h -similarity index 100% -rename from arch/um/include/asm/processor-generic.h -rename to arch/um/include/uapi/asm/processor-generic.h -diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/uapi/asm/ptrace-generic.h -similarity index 100% -rename from arch/um/include/asm/ptrace-generic.h -rename to arch/um/include/uapi/asm/ptrace-generic.h -diff --git a/arch/um/include/asm/setup.h b/arch/um/include/uapi/asm/setup.h -similarity index 100% -rename from arch/um/include/asm/setup.h -rename to arch/um/include/uapi/asm/setup.h -diff --git a/arch/um/include/asm/smp.h b/arch/um/include/uapi/asm/smp.h -similarity index 100% -rename from arch/um/include/asm/smp.h -rename to arch/um/include/uapi/asm/smp.h -diff --git a/arch/um/include/asm/sysrq.h b/arch/um/include/uapi/asm/sysrq.h -similarity index 100% -rename from arch/um/include/asm/sysrq.h -rename to arch/um/include/uapi/asm/sysrq.h -diff --git a/arch/um/include/asm/thread_info.h b/arch/um/include/uapi/asm/thread_info.h -similarity index 100% -rename from arch/um/include/asm/thread_info.h -rename to arch/um/include/uapi/asm/thread_info.h -diff --git a/arch/um/include/asm/timex.h b/arch/um/include/uapi/asm/timex.h -similarity index 100% -rename from arch/um/include/asm/timex.h -rename to arch/um/include/uapi/asm/timex.h -diff --git a/arch/um/include/asm/tlb.h b/arch/um/include/uapi/asm/tlb.h -similarity index 100% -rename from arch/um/include/asm/tlb.h -rename to arch/um/include/uapi/asm/tlb.h -diff --git a/arch/um/include/asm/tlbflush.h b/arch/um/include/uapi/asm/tlbflush.h -similarity index 100% -rename from arch/um/include/asm/tlbflush.h -rename to arch/um/include/uapi/asm/tlbflush.h -diff --git a/arch/um/include/asm/uaccess.h b/arch/um/include/uapi/asm/uaccess.h -similarity index 100% -rename from arch/um/include/asm/uaccess.h -rename to arch/um/include/uapi/asm/uaccess.h --- -1.7.10.4 - diff --git a/target/linux/uml/patches-3.8/002-fix_compilation.patch b/target/linux/uml/patches-3.8/002-fix_compilation.patch deleted file mode 100644 index 745f91f490..0000000000 --- a/target/linux/uml/patches-3.8/002-fix_compilation.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c -index b1469fe..9d9f1b4 100644 ---- a/arch/um/os-Linux/signal.c -+++ b/arch/um/os-Linux/signal.c -@@ -15,7 +15,7 @@ - #include <sysdep/mcontext.h> - #include "internal.h" - --void (*sig_info[NSIG])(int, siginfo_t *, struct uml_pt_regs *) = { -+void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = { - [SIGTRAP] = relay_signal, - [SIGFPE] = relay_signal, - [SIGILL] = relay_signal, ---- a/arch/um/os-Linux/start_up.c -+++ b/arch/um/os-Linux/start_up.c -@@ -15,6 +15,8 @@ - #include <sys/mman.h> - #include <sys/stat.h> - #include <sys/wait.h> -+#include <sys/time.h> -+#include <sys/resource.h> - #include <asm/unistd.h> - #include <init.h> - #include <os.h> diff --git a/target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch b/target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch deleted file mode 100644 index ff642a6f4d..0000000000 --- a/target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- pristine-linux-3.4.38/init/main.c 2013-03-28 21:12:41.000000000 +0200 -+++ build-linux-3.4.38/init/main.c 2013-04-04 12:25:59.987999573 +0300 -@@ -743,7 +743,7 @@ - extern const struct kernel_param __start___param[], __stop___param[]; - initcall_t *fn; - -- strcpy(static_command_line, saved_command_line); -+ /* strcpy(static_command_line, saved_command_line); */ - parse_args(initcall_level_names[level], - static_command_line, __start___param, - __stop___param - __start___param, |