]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
slob: fix bug - when slob allocates "struct kmem_cache", it does not force alignment.
authorYi Li <yi.li@analog.com>
Fri, 25 Apr 2008 16:49:21 +0000 (19:49 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 27 Apr 2008 15:25:51 +0000 (18:25 +0300)
commit0701a9e649bf0ffdac0a761d3c3d1041f5375d90
tree1af2937107ca0ee1552523accac89c696125ba69
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e
slob: fix bug - when slob allocates "struct kmem_cache", it does not force alignment.

This may trigger misaligned memory access exception.

Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slob.c