aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2010-08-09 17:20:36 -0700
committerLinus Torvalds <[email protected]>2010-08-09 20:45:06 -0700
commit8c4af38e9b2c2a78369c4e2e5706fe539ac64eb2 (patch)
tree17671814cc7afb4e5eaafad32f0ed0c428764515 /include/linux
parent547415d5edf8660aee040dc81d8c71b081a59bda (diff)
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 window smaller. Found by gcc 4.6's new warnings. Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions