summaryrefslogtreecommitdiffstats
path: root/lib/is_single_threaded.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-11-23 11:12:26 +0100
committerIngo Molnar <mingo@kernel.org>2015-11-24 09:15:55 +0100
commit679bcea857d72868e3431dde3a0e158bf0ed9119 (patch)
treebb4a914b5cfd6931c8c1696dd1f8b6bc1fdfea94 /lib/is_single_threaded.c
parent31ac34ca5636e596485c6e03df1879643bde585e (diff)
downloadblackbird-op-linux-679bcea857d72868e3431dde3a0e158bf0ed9119.tar.gz
blackbird-op-linux-679bcea857d72868e3431dde3a0e158bf0ed9119.zip
x86/MSR: Chop off lower 32-bit value
sparse complains that the cast truncates the high bits. But here we really do know what we're doing and we need the lower 32 bits only as the @low argument. So make that explicit. Suggested-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1448273546-2567-7-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud