imgtec-ci20: genimage config/ u-boot env
[openadk.git] / target / linux / patches / 4.9.287 / vdso2.patch
blob35df488a888ce1a949a91fd9036ab1fa9ea65976
1 diff -Nur linux-4.7.2.orig/arch/x86/entry/vdso/vdso2c.c linux-4.7.2/arch/x86/entry/vdso/vdso2c.c
2 --- linux-4.7.2.orig/arch/x86/entry/vdso/vdso2c.c 2016-08-20 18:11:18.000000000 +0200
3 +++ linux-4.7.2/arch/x86/entry/vdso/vdso2c.c 2016-09-04 11:11:01.000000000 +0200
4 @@ -64,7 +64,15 @@
5 #include <tools/le_byteshift.h>
7 #include <linux/elf.h>
8 +#ifdef __linux__
9 #include <linux/types.h>
10 +#else
11 +typedef _Bool bool;
12 +enum {
13 + false = 0,
14 + true = 1
15 +};
16 +#endif
18 const char *outfilename;
20 @@ -84,6 +92,7 @@
21 sym_pvclock_page,
25 struct vdso_sym {
26 const char *name;
27 bool export;