Patch 2.6.32.28 to 2.6.32.32
/include/linux/klist.h
blob:e91a4e59b77197cf632aa0784dc5d856556b7a33 -> blob:a370ce57cf1d98e3e707a6a40c77b9318f4fc9ac
--- include/linux/klist.h
+++ include/linux/klist.h
@@ -22,7 +22,7 @@ struct klist {
struct list_head k_list;
void (*get)(struct klist_node *);
void (*put)(struct klist_node *);
-} __attribute__ ((aligned (4)));
+} __attribute__ ((aligned (sizeof(void *))));
#define KLIST_INIT(_name, _get, _put) \
{ .k_lock = __SPIN_LOCK_UNLOCKED(_name.k_lock), \