summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/patches/3.12.14/sgidefs.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:45:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:45:38 +0100
commit8a645ead34c86da2fca6d5f3dea060813190bd46 (patch)
tree56d661bfa90485b6bf8f5ee623a42e4ce9d41684 /toolchain/kernel-headers/patches/3.12.14/sgidefs.patch
parentd5976f324b0dc931132c3788279bb3f2c668643e (diff)
parent226d4ec4a7bc14fc599795844c0ecac2faa8d194 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/kernel-headers/patches/3.12.14/sgidefs.patch')
-rw-r--r--toolchain/kernel-headers/patches/3.12.14/sgidefs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/patches/3.12.14/sgidefs.patch b/toolchain/kernel-headers/patches/3.12.14/sgidefs.patch
new file mode 100644
index 000000000..f00a284d9
--- /dev/null
+++ b/toolchain/kernel-headers/patches/3.12.14/sgidefs.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-3.11.5.orig/arch/mips/include/uapi/asm/sgidefs.h linux-3.11.5/arch/mips/include/uapi/asm/sgidefs.h
+--- linux-3.11.5.orig/arch/mips/include/uapi/asm/sgidefs.h 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/mips/include/uapi/asm/sgidefs.h 2013-11-08 22:01:28.000000000 +0100
+@@ -11,14 +11,6 @@
+ #define __ASM_SGIDEFS_H
+
+ /*
+- * Using a Linux compiler for building Linux seems logic but not to
+- * everybody.
+- */
+-#ifndef __linux__
+-#error Use a Linux compiler or give up.
+-#endif
+-
+-/*
+ * Definitions for the ISA levels
+ *
+ * With the introduction of MIPS32 / MIPS64 instruction sets definitions