summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/patches/3.11.10/cris-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/kernel-headers/patches/3.11.10/cris-header.patch')
-rw-r--r--toolchain/kernel-headers/patches/3.11.10/cris-header.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/patches/3.11.10/cris-header.patch b/toolchain/kernel-headers/patches/3.11.10/cris-header.patch
new file mode 100644
index 000000000..da455f3b3
--- /dev/null
+++ b/toolchain/kernel-headers/patches/3.11.10/cris-header.patch
@@ -0,0 +1,65 @@
+diff -Nur linux-3.11.5.orig/arch/cris/include/arch-v10/arch/Kbuild linux-3.11.5/arch/cris/include/arch-v10/arch/Kbuild
+--- linux-3.11.5.orig/arch/cris/include/arch-v10/arch/Kbuild 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/cris/include/arch-v10/arch/Kbuild 2013-10-15 17:05:47.000000000 +0200
+@@ -1 +1,5 @@
+ # CRISv10 arch
++header-y += ptrace.h
++header-y += user.h
++header-y += elf.h
++header-y += system.h
+diff -Nur linux-3.11.5.orig/arch/cris/include/asm/Kbuild linux-3.11.5/arch/cris/include/asm/Kbuild
+--- linux-3.11.5.orig/arch/cris/include/asm/Kbuild 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/cris/include/asm/Kbuild 2013-10-15 17:06:22.000000000 +0200
+@@ -1,7 +1,7 @@
+-
+-header-y += arch-v10/
+-header-y += arch-v32/
+-
++header-y += ../arch-v10/arch/
++header-y += ../arch-v32/arch/
++header-y += elf.h
++header-y += user.h
+
+ generic-y += clkdev.h
+ generic-y += exec.h
+diff -Nur linux-3.11.5.orig/arch/cris/include/uapi/asm/Kbuild linux-3.11.5/arch/cris/include/uapi/asm/Kbuild
+--- linux-3.11.5.orig/arch/cris/include/uapi/asm/Kbuild 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/cris/include/uapi/asm/Kbuild 2013-10-15 17:05:49.000000000 +0200
+@@ -1,8 +1,8 @@
+ # UAPI Header export list
+ include include/uapi/asm-generic/Kbuild.asm
+
+-header-y += arch-v10/
+-header-y += arch-v32/
++header-y += ../arch-v10/arch/
++header-y += ../arch-v32/arch/
+ header-y += auxvec.h
+ header-y += bitsperlong.h
+ header-y += byteorder.h
+diff -Nur linux-3.11.5.orig/include/uapi/asm-generic/Kbuild linux-3.11.5/include/uapi/asm-generic/Kbuild
+--- linux-3.11.5.orig/include/uapi/asm-generic/Kbuild 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/include/uapi/asm-generic/Kbuild 2013-10-15 17:05:49.000000000 +0200
+@@ -34,3 +34,4 @@
+ header-y += types.h
+ header-y += ucontext.h
+ header-y += unistd.h
++header-y += user.h
+diff -Nur linux-3.11.5.orig/include/uapi/asm-generic/Kbuild.asm linux-3.11.5/include/uapi/asm-generic/Kbuild.asm
+--- linux-3.11.5.orig/include/uapi/asm-generic/Kbuild.asm 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/include/uapi/asm-generic/Kbuild.asm 2013-10-15 17:05:49.000000000 +0200
+@@ -18,6 +18,7 @@
+ header-y += ipcbuf.h
+ header-y += mman.h
+ header-y += msgbuf.h
++header-y += page.h
+ header-y += param.h
+ header-y += poll.h
+ header-y += posix_types.h
+@@ -38,6 +39,7 @@
+ header-y += termios.h
+ header-y += types.h
+ header-y += unistd.h
++header-y += user.h
+
+ header-y += $(foreach hdr,$(opt-header), \
+ $(if \