]> git.baikalelectronics.ru Git - kernel.git/commit
s390: don't trace preemption in percpu macros
authorSven Schnelle <svens@linux.ibm.com>
Thu, 20 Aug 2020 07:48:23 +0000 (09:48 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 26 Aug 2020 16:07:04 +0000 (18:07 +0200)
commit47713f4234ca150c02996e42d4efe51c80fc64c0
tree4c2740fa669b410787945a774c711e5a3d71125d
parent307d1b3e26310db573de01ed3dc4a02b4fb13ada
s390: don't trace preemption in percpu macros

Since commit fe91c8983ebe ("lockdep: Change hardirq{s_enabled,_context}
to per-cpu variables") the lockdep code itself uses percpu variables. This
leads to recursions because the percpu macros are calling preempt_enable()
which might call trace_preempt_on().

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/percpu.h