summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-15 04:43:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-15 04:43:22 +0000
commit50d4775df04445d138b72964efff1773f507e139 (patch)
treefd687b5da103798410a545fa3f21988d3363001b /target/linux/generic
parent09ac7d469757519c32a11804c20ab4e2901b7c4a (diff)
downloadmtk-20170518-50d4775df04445d138b72964efff1773f507e139.zip
mtk-20170518-50d4775df04445d138b72964efff1773f507e139.tar.gz
mtk-20170518-50d4775df04445d138b72964efff1773f507e139.tar.bz2
kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44757
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-3.18/213-x86_vdso_portability.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.18/213-x86_vdso_portability.patch b/target/linux/generic/patches-3.18/213-x86_vdso_portability.patch
new file mode 100644
index 0000000..937ab90
--- /dev/null
+++ b/target/linux/generic/patches-3.18/213-x86_vdso_portability.patch
@@ -0,0 +1,13 @@
+--- a/arch/x86/vdso/vdso2c.c
++++ b/arch/x86/vdso/vdso2c.c
+@@ -63,8 +63,8 @@
+
+ #include <tools/le_byteshift.h>
+
+-#include <linux/elf.h>
+-#include <linux/types.h>
++#include <elf.h>
++#include <stdbool.h>
+
+ const char *outfilename;
+