summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/patches/3.5.7/etrax-header.patch
blob: 03d19a9ab48e759e3860b679c536c6c7be206d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
diff -Nur linux-3.5.orig//arch/cris/include/arch-v10/arch/Kbuild linux-3.5/arch/cris/include/arch-v10/arch/Kbuild
--- linux-3.5.orig//arch/cris/include/arch-v10/arch/Kbuild	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/arch/cris/include/arch-v10/arch/Kbuild	2012-07-27 14:01:25.000000000 +0200
@@ -1,4 +1,10 @@
+header-y += dma.h
+header-y += io_interface_mux.h
 header-y += user.h
 header-y += svinto.h
 header-y += sv_addr_ag.h
 header-y += sv_addr.agh
+header-y += elf.h
+header-y += page.h
+header-y += ptrace.h
+header-y += system.h
diff -Nur linux-3.5.orig//arch/cris/include/arch-v32/arch/Kbuild linux-3.5/arch/cris/include/arch-v32/arch/Kbuild
--- linux-3.5.orig//arch/cris/include/arch-v32/arch/Kbuild	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/arch/cris/include/arch-v32/arch/Kbuild	2012-07-27 14:01:25.000000000 +0200
@@ -1,2 +1,7 @@
 header-y += user.h
 header-y += cryptocop.h
+header-y += elf.h
+header-y += page.h
+header-y += ptrace.h
+header-y += system.h
+
diff -Nur linux-3.5.orig//arch/cris/include/asm/Kbuild linux-3.5/arch/cris/include/asm/Kbuild
--- linux-3.5.orig//arch/cris/include/asm/Kbuild	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/arch/cris/include/asm/Kbuild	2012-07-27 14:02:20.000000000 +0200
@@ -1,9 +1,12 @@
 include include/asm-generic/Kbuild.asm
 
-header-y += arch-v10/
-header-y += arch-v32/
+header-y += ../arch-v10/arch/
+header-y += ../arch-v32/arch/
 
+header-y += elf.h
 header-y += ethernet.h
 header-y += etraxgpio.h
 header-y += rs485.h
 header-y += sync_serial.h
+header-y += page.h
+header-y += user.h
diff -Nur linux-3.5.orig//arch/cris/include/asm/posix_types.h linux-3.5/arch/cris/include/asm/posix_types.h
--- linux-3.5.orig//arch/cris/include/asm/posix_types.h	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/arch/cris/include/asm/posix_types.h	2012-07-27 14:01:25.000000000 +0200
@@ -6,6 +6,7 @@
 #ifndef __ARCH_CRIS_POSIX_TYPES_H
 #define __ARCH_CRIS_POSIX_TYPES_H
 
+
 /*
  * This file is generally used by user-level software, so you need to
  * be a little careful about namespace pollution etc.  Also, we cannot
@@ -32,4 +33,6 @@
 
 #include <asm-generic/posix_types.h>
 
+#include <asm-generic/posix_types.h>
+
 #endif /* __ARCH_CRIS_POSIX_TYPES_H */
diff -Nur linux-3.5.orig//include/asm-generic/Kbuild linux-3.5/include/asm-generic/Kbuild
--- linux-3.5.orig//include/asm-generic/Kbuild	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/include/asm-generic/Kbuild	2012-07-27 14:03:16.000000000 +0200
@@ -3,15 +3,18 @@
 header-y += errno-base.h
 header-y += errno.h
 header-y += fcntl.h
+header-y += getorder.h
 header-y += int-l64.h
 header-y += int-ll64.h
 header-y += ioctl.h
 header-y += ioctls.h
 header-y += ipcbuf.h
 header-y += kvm_para.h
+header-y += memory_model.h
 header-y += mman-common.h
 header-y += mman.h
 header-y += msgbuf.h
+header-y += page.h
 header-y += param.h
 header-y += poll.h
 header-y += posix_types.h
diff -Nur linux-3.5.orig//include/linux/Kbuild linux-3.5/include/linux/Kbuild
--- linux-3.5.orig//include/linux/Kbuild	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/include/linux/Kbuild	2012-07-27 14:01:25.000000000 +0200
@@ -382,6 +382,7 @@
 header-y += un.h
 header-y += unistd.h
 header-y += usbdevice_fs.h
+header-y += user.h
 header-y += utime.h
 header-y += utsname.h
 header-y += uuid.h