summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/linux-2.6.28.2-cris-klist-warnings.patch
blob: c60acab19099a1149321b7568f7a000b9cb9ad3d (plain)
1
2
3
4
5
6
7
8
9
10
11
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),		\