]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
objtool: Make unreachable annotation inline asms explicitly volatile
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 6 Nov 2017 13:17:38 +0000 (07:17 -0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Nov 2017 09:48:22 +0000 (10:48 +0100)
commit10259821ac47dbefa6f83ae57f1fa9f1f2c54b3d
tree0cbd4a8933e83a85d6b0348332dda890b62fd46c
parentd0c2e691d1cbe43662df3a08a4933f13acc352c3
objtool: Make unreachable annotation inline asms explicitly volatile

Add 'volatile' to the unreachable annotation macro inline asm
statements.  They're already implicitly volatile because they don't have
output constraints, but it's clearer and more robust to make them
explicitly volatile.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/28659257b7a6adf4a7f65920dad70b2b0226e996.1509974104.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/compiler.h