printk: correctly align __log_buf
authorStephen Warren <swarren@nvidia.com>
Thu, 10 May 2012 22:14:33 +0000 (16:14 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 May 2012 22:36:59 +0000 (15:36 -0700)
commitf8450fca6ecdea38b5a882fdf6cd097e3ec8651c
treebd304f4638508c8a6879798384199b994cbb6c04
parentaf4681097b23fe9c63a03d774de7c742fa3a920e
printk: correctly align __log_buf

__log_buf must be aligned, because a 64-bit value is written directly
to it as part of struct log. Alignment of the log entries is typically
handled by log_store(), but this only triggers for subsequent entries,
not the very first (or wrapped) entries.

Cc: Kay Sievers <kay@vrfy.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/printk.c