From: David Miller Date: Mon, 14 Feb 2011 00:37:07 +0000 (-0800) Subject: klist: Fix object alignment on 64-bit. X-Git-Tag: v2.6.38-rc5~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795abaf1e4e188c4171e3cd3dbb11a9fcacaf505;p=pandora-kernel.git klist: Fix object alignment on 64-bit. Commit c0e69a5bbc6f ("klist.c: bit 0 in pointer can't be used as flag") intended to make sure that all klist objects were at least pointer size aligned, but used the constant "4" which only works on 32-bit. Use "sizeof(void *)" which is correct in all cases. Signed-off-by: David S. Miller Acked-by: Jesper Nilsson Cc: stable Cc: Greg Kroah-Hartman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed