summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.18.8/sgidefs.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-02 03:52:36 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-02 03:52:36 +0100
commit9a888aa5b88854591d953f8fe5794dc53debdfde (patch)
treeb483abbae8f1970055686ba6894098fa37b1b186 /target/linux/patches/3.18.8/sgidefs.patch
parent6b23d45ca38554d19b799cd3e6754b4ac2ec3363 (diff)
parent510e887e8da1d51730b844957872ab1f99aff174 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/3.18.8/sgidefs.patch')
-rw-r--r--target/linux/patches/3.18.8/sgidefs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/patches/3.18.8/sgidefs.patch b/target/linux/patches/3.18.8/sgidefs.patch
new file mode 100644
index 000000000..f00a284d9
--- /dev/null
+++ b/target/linux/patches/3.18.8/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