OSDN Git Service

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)
commit1196f12a2c960951d02262af25af0bb1775ebcc2
tree4c2740fa669b410787945a774c711e5a3d71125d
parentd012a7190fc1fd72ed48911e77ca97ba4521bccd
s390: don't trace preemption in percpu macros

Since commit a21ee6055c30 ("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