aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/klist.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-01-26 10:40:28 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-26 10:40:28 -0800
commited803862954528e6fcf7bd0f2b2e5a772a7c3281 (patch)
treefce02fe5ebc10a5a8da5e034e2bb25d79d07a808 /include/linux/klist.h
parentm68k{nommu}: fixups after the header move (diff)
parentklist.c: bit 0 in pointer can't be used as flag (diff)
downloadlinux-dev-ed803862954528e6fcf7bd0f2b2e5a772a7c3281.tar.xz
linux-dev-ed803862954528e6fcf7bd0f2b2e5a772a7c3281.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: klist.c: bit 0 in pointer can't be used as flag debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n sysfs: fix problems with binary files PNP: fix broken pnp lowercasing for acpi module aliases driver core: Convert '/' to '!' in dev_set_name()
Diffstat (limited to 'include/linux/klist.h')
-rw-r--r--include/linux/klist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/klist.h b/include/linux/klist.h
index d5a27af9dba5..e91a4e59b771 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)));
#define KLIST_INIT(_name, _get, _put) \
{ .k_lock = __SPIN_LOCK_UNLOCKED(_name.k_lock), \