Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
gcc-4.6: printk: use stable variable to dump kmsg buffer
kmsg_dump takes care to sample the global variables
inside a spinlock, but then goes on to use the same
variables outside the spinlock region too.
Use the correct variable. This will make the race
Found by gcc 4.6's new warnings.
Signed-off-by: Andi Kleen <firstname.lastname@example.org>
Signed-off-by: Andrew Morton <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>