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

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