locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEP
authorPeter Zijlstra <peterz@infradead.org>
Wed, 6 Jan 2021 14:36:23 +0000 (15:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2021 14:37:14 +0000 (15:37 +0100)
commitd2c880ed2cffa50c20a02a70cc41861cf85ff5ef
tree5846ce038145ec46e73f62566112a020fe7584ec
parent2f2a4c04b8893de70f9d6ccc3fe9e2ccad9eb209
locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEP

[ Upstream commit 77ca93a6b1223e210e58e1000c09d8d420403c94 ]

  vmlinux.o: warning: objtool: lock_is_held_type()+0x60: call to check_flags.part.0() leaves .noinstr.text section

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210106144017.652218215@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/locking/lockdep.c