summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-28 16:37:09 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-28 16:37:09 +0000
commit97925424aaced29b45ab0efcbefca39de5b27278 (patch)
treee2ba4aa244f704c54c78f50f367c7431d77294e5 /toolchain/kernel-headers
parent3813096b28b25d9cafcf61054c721bcdcfac28f3 (diff)
toolchain: cris fixes for gcc 4.3.x / linux 2.6.28.x
Patches by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/linux-2.6.28.2-cris-eth-driver-netpoll.patch11
-rw-r--r--toolchain/kernel-headers/linux-2.6.28.2-cris-klist-warnings.patch12
2 files changed, 23 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.28.2-cris-eth-driver-netpoll.patch b/toolchain/kernel-headers/linux-2.6.28.2-cris-eth-driver-netpoll.patch
new file mode 100644
index 000000000..5711767b6
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.28.2-cris-eth-driver-netpoll.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/cris/eth_v10.c.org 2009-01-28 09:19:09.000000000 +0100
++++ b/drivers/net/cris/eth_v10.c 2009-01-28 09:19:16.000000000 +0100
+@@ -1707,7 +1707,7 @@
+ static void
+ e100_netpoll(struct net_device* netdev)
+ {
+- e100rxtx_interrupt(NETWORK_DMA_TX_IRQ_NBR, netdev, NULL);
++ e100rxtx_interrupt(NETWORK_DMA_TX_IRQ_NBR, netdev);
+ }
+ #endif
+
diff --git a/toolchain/kernel-headers/linux-2.6.28.2-cris-klist-warnings.patch b/toolchain/kernel-headers/linux-2.6.28.2-cris-klist-warnings.patch
new file mode 100644
index 000000000..c60acab19
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.28.2-cris-klist-warnings.patch
@@ -0,0 +1,12 @@
+--- a/include/linux/klist.h
++++ b/include/linux/klist.h
+@@ -23,7 +23,7 @@ struct klist {
+ struct list_head k_list;
+ void (*get)(struct klist_node *);
+ void (*put)(struct klist_node *);
+-};
++} __attribute__ ((aligned (4)));
+
+ #define KLIST_INIT(_name, _get, _put) \
+ { .k_lock = __SPIN_LOCK_UNLOCKED(_name.k_lock), \
+