Files
android_kernel_xiaomi_sm8450/arch/x86/include/asm
Peter Zijlstra b987ffc18f x86/qspinlock: Fix compile error
With a compiler that has asm-goto but not asm-cc-output and
CONFIG_PROFILE_ALL_BRANCHES=y we get a compiler error:

  arch/x86/include/asm/rmwcc.h:23:17: error: jump into statement expression

Fix this by writing the if() as a boolean multiplication instead.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-kernel@vger.kernel.org
Fixes: 7aa54be297 ("locking/qspinlock, x86: Provide liveness guarantee")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-11-04 00:54:34 +01:00
..
2018-03-20 10:01:57 +01:00
2018-05-19 13:55:40 +02:00
2018-08-15 13:44:10 -07:00
2017-12-22 20:13:04 +01:00
2018-10-31 08:54:12 -07:00
2017-12-22 20:13:01 +01:00
2017-07-26 13:18:20 +02:00
2018-05-07 07:15:41 +02:00
2018-10-14 11:11:22 +02:00
2018-10-31 08:54:12 -07:00
2018-07-20 01:11:45 +02:00
2018-11-04 00:54:34 +01:00
2017-11-15 18:21:05 -08:00
2018-03-28 22:47:06 +02:00
2018-03-20 10:01:57 +01:00
2018-05-09 21:41:38 +02:00
2017-11-15 18:21:04 -08:00