summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/linux-2.6.28.3-cris-klist-warnings.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-02 20:13:57 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-02 20:13:57 +0000
commitca1c4ce743286cf3c9cc93f86072dd9b9c515c8d (patch)
treeae188955aa3b2f65753f87b1bb58a2544619e7d8 /toolchain/kernel-headers/linux-2.6.28.3-cris-klist-warnings.patch
parent25b41e7e6a9c89361de56f8c1d304a490785d18d (diff)
kernel-headers: bump 2.6.27/2.6.28 stable versions
Diffstat (limited to 'toolchain/kernel-headers/linux-2.6.28.3-cris-klist-warnings.patch')
-rw-r--r--toolchain/kernel-headers/linux-2.6.28.3-cris-klist-warnings.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.28.3-cris-klist-warnings.patch b/toolchain/kernel-headers/linux-2.6.28.3-cris-klist-warnings.patch
new file mode 100644
index 000000000..c60acab19
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.28.3-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), \
+