]> git.pld-linux.org Git - packages/kernel.git/blame - kernel-small_fixes.patch
- conflicts with util-vserver tools with broken vprocunhide
[packages/kernel.git] / kernel-small_fixes.patch
CommitLineData
3c03f5de 1diff -Nur linux-2.6.15.6/drivers/input/joystick/iforce/iforce-serio.c linux-2.6.15.6.iforce/drivers/input/joystick/iforce/iforce-serio.c
2--- linux-2.6.15.6/drivers/input/joystick/iforce/iforce-serio.c 2006-03-05 19:07:54.000000000 +0000
3+++ linux-2.6.15.6.iforce/drivers/input/joystick/iforce/iforce-serio.c 2006-04-29 23:17:59.000000000 +0000
4@@ -175,6 +175,12 @@
5 .id = SERIO_ANY,
6 .extra = SERIO_ANY,
7 },
8+ {
9+ .type = SERIO_RS232,
10+ .proto = 0x1f, // Trust ForceFeedback Race Master
11+ .id = SERIO_ANY,
12+ .extra = SERIO_ANY,
13+ },
14 { 0 }
15 };
16
1b3b3426
PS
17--- linux-2.6.27/arch/powerpc/include/asm/io.h~ 2006-06-18 01:49:35.000000000 +0000
18+++ linux-2.6.27/arch/powerpc/include/asm/io.h 2006-06-22 02:44:19.000000000 +0000
3c03f5de 19@@ -445,6 +445,10 @@
20 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
21 #define page_to_bus(page) (page_to_phys(page) + PCI_DRAM_OFFSET)
22
23+#define isa_virt_to_bus virt_to_phys
24+#define isa_page_to_bus page_to_phys
25+#define isa_bus_to_virt phys_to_virt
26+
27 /* Enforce in-order execution of data I/O.
28 * No distinction between read/write on PPC; use eieio for all three.
29 */
ca74d27b 30--- linux-2.6.20/drivers/media/common/ir-keymaps.c.orig 2007-02-04 19:44:54.000000000 +0100
31+++ linux-2.6.20/drivers/media/common/ir-keymaps.c 2007-02-17 22:22:39.327414970 +0100
32@@ -151,10 +151,6 @@
33
34 IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = {
35
36- [ 0x1e ] = KEY_POWER, // power
37- [ 0x07 ] = KEY_MEDIA, // source
38- [ 0x1c ] = KEY_SEARCH, // scan
39-
40 /* FIXME: duplicate keycodes?
41 *
42 * These four keys seem to share the same GPIO as CH+, CH-, <<< and >>>
43@@ -175,14 +171,10 @@
44 */
45
46 [ 0x03 ] = KEY_TUNER, // TV/FM
47+ [ 0x07 ] = KEY_SEARCH, // scan
48+ [ 0x1c ] = KEY_ZOOM, // zoom
49
50- [ 0x00 ] = KEY_RECORD,
51- [ 0x08 ] = KEY_STOP,
52- [ 0x11 ] = KEY_PLAY,
53-
54- [ 0x1a ] = KEY_PLAYPAUSE, // freeze
55- [ 0x19 ] = KEY_ZOOM, // zoom
56- [ 0x0f ] = KEY_TEXT, // min
57+ [ 0x1e ] = KEY_POWER, // power
58
59 [ 0x01 ] = KEY_1,
60 [ 0x0b ] = KEY_2,
61@@ -195,20 +187,22 @@
62 [ 0x12 ] = KEY_9,
63 [ 0x02 ] = KEY_0,
64 [ 0x10 ] = KEY_LAST, // +100
65- [ 0x13 ] = KEY_LIST, // recall
66+ [ 0x13 ] = KEY_LIST, // loop
67
68- [ 0x1f ] = KEY_CHANNELUP, // chn down
69- [ 0x17 ] = KEY_CHANNELDOWN, // chn up
70- [ 0x16 ] = KEY_VOLUMEUP, // vol down
71- [ 0x14 ] = KEY_VOLUMEDOWN, // vol up
72+ [ 0x1f ] = KEY_VOLUMEUP, // vol down
73+ [ 0x17 ] = KEY_VOLUMEDOWN, // vol up
74+ [ 0x16 ] = KEY_CHANNELUP, // chn down
75+ [ 0x14 ] = KEY_CHANNELDOWN, // chn up
76
77- [ 0x04 ] = KEY_KPMINUS, // <<<
78+ [ 0x00 ] = KEY_MEDIA, // source
79+ [ 0x18 ] = KEY_MUTE, // mute/unmute
80+
81+ [ 0x04 ] = KEY_KPMINUS, // -
82 [ 0x0e ] = KEY_SETUP, // function
83- [ 0x0c ] = KEY_KPPLUS, // >>>
84+ [ 0x0c ] = KEY_KPPLUS, // +
85
86- [ 0x0d ] = KEY_GOTO, // mts
87- [ 0x1d ] = KEY_REFRESH, // reset
88- [ 0x18 ] = KEY_MUTE // mute/unmute
89+ [ 0x0d ] = KEY_REFRESH, // reset
90+ [ 0x0f ] = KEY_PLAYPAUSE // freeze
91 };
92
93 EXPORT_SYMBOL_GPL(ir_codes_pixelview);
720c736c 94--- linux-2.6.22/drivers/sbus/char/cpwatchdog.c~ 2007-07-09 01:32:17.000000000 +0200
95+++ linux-2.6.22/drivers/sbus/char/cpwatchdog.c 2007-08-12 03:56:02.739993250 +0200
96@@ -28,6 +28,7 @@
97 #include <asm/ebus.h>
98 #include <asm/oplib.h>
99 #include <asm/uaccess.h>
100+#include <asm/io.h>
101
102 #include <asm/watchdog.h>
103
1b3b3426
PS
104--- linux-2.6.27/arch/powerpc/include/asm/suspend.h 2007-07-09 01:32:17.000000000 +0200
105+++ linux-2.6.27/arch/powerpc/include/asm/suspend.h 2007-08-28 23:26:16.629658848 +0200
88b2edbd 106@@ -6,4 +6,7 @@
107 void save_processor_state(void);
108 void restore_processor_state(void);
109
110+#define suspend2_faulted (0)
111+#define clear_suspend2_fault() do { } while(0)
112+
113 #endif /* __ASM_POWERPC_SUSPEND_H */
97c1e650 114--- linux-2.6.26/arch/powerpc/kernel/swsusp.c 2008-09-29 00:01:56.000000000 +0200
115+++ linux-2.6.26/arch/powerpc/kernel/swsusp.c 2008-09-29 00:01:42.000000000 +0200
116@@ -9,6 +9,7 @@
117 * 2 of the License, or (at your option) any later version.
118 */
119
120+#include <linux/module.h>
121 #include <linux/sched.h>
122 #include <asm/suspend.h>
123 #include <asm/system.h>
124@@ -30,6 +31,7 @@
125 #endif
126
127 }
128+EXPORT_SYMBOL(save_processor_state);
129
130 void restore_processor_state(void)
131 {
de227537
PS
132--- linux-2.6.27/security/security.c.orig 2008-10-09 22:13:53.000000000 +0000
133+++ linux-2.6.27/security/security.c 2008-10-20 17:27:49.000000000 +0000
134@@ -439,6 +439,7 @@
135 return 0;
136 return security_ops->inode_permission(inode, mask);
137 }
138+EXPORT_SYMBOL_GPL(security_inode_permission);
139
140 int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
141 {
50988002 142--- a/drivers/net/mv643xx_eth.c
143+++ b/drivers/net/mv643xx_eth.c
144@@ -38,6 +38,7 @@
145 #include <linux/init.h>
146 #include <linux/dma-mapping.h>
147 #include <linux/in.h>
148+#include <linux/ip.h>
149 #include <linux/tcp.h>
150 #include <linux/udp.h>
151 #include <linux/etherdevice.h>
This page took 0.080311 seconds and 4 git commands to generate.