X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fklist.h;h=a370ce57cf1d98e3e707a6a40c77b9318f4fc9ac;hb=638691a7a46a4ae9a7b56c603299e42d7f6e722e;hp=e91a4e59b77197cf632aa0784dc5d856556b7a33;hpb=f22d806b6cc0c74dd0a1a21b3f311dba51d9df84;p=mv-sheeva.git diff --git a/include/linux/klist.h b/include/linux/klist.h index e91a4e59b77..a370ce57cf1 100644 --- a/include/linux/klist.h +++ b/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), \