summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.4.112/sparc-include.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-17 18:37:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-18 04:51:20 +0200
commitf5c67bc4f3f14de3a4261f21565cb4658a9ef3bd (patch)
tree1f18bf997eaa72769f73fb4eb812f88477527cd1 /target/linux/patches/3.4.112/sparc-include.patch
parent6d77c8668e4e557924f8883fa5d6ab6e5af58f2e (diff)
nds32: add back support for old toolchain and Linux, working on ag101p with latest uClibc-ng
fix
Diffstat (limited to 'target/linux/patches/3.4.112/sparc-include.patch')
-rw-r--r--target/linux/patches/3.4.112/sparc-include.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/patches/3.4.112/sparc-include.patch b/target/linux/patches/3.4.112/sparc-include.patch
new file mode 100644
index 000000000..2f8ffd061
--- /dev/null
+++ b/target/linux/patches/3.4.112/sparc-include.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-2.6.39-rc7.orig/arch/sparc/boot/btfixupprep.c linux-2.6.39-rc7/arch/sparc/boot/btfixupprep.c
+--- linux-2.6.39-rc7.orig/arch/sparc/boot/btfixupprep.c 2011-05-10 04:33:54.000000000 +0200
++++ linux-2.6.39-rc7/arch/sparc/boot/btfixupprep.c 2011-05-21 13:34:40.000000000 +0200
+@@ -25,7 +25,6 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+
+ #define MAXSYMS 1024
+