]> git.baikalelectronics.ru Git - kernel.git/commit
kcov: Remove kcov include from sched.h and move it to its users.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 18 Feb 2021 17:31:24 +0000 (18:31 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 6 Mar 2021 11:40:21 +0000 (12:40 +0100)
commit6cb072a6b54edf00700f92651c16120b15ca4b1a
tree24a2deb651cf90a884b5f520b7e98a09ebb61fd0
parent40b15bfb92fc06f48eedcb8ec3e56456bb85a41b
kcov: Remove kcov include from sched.h and move it to its users.

The recent addition of in_serving_softirq() to kconv.h results in
compile failure on PREEMPT_RT because it requires
task_struct::softirq_disable_cnt. This is not available if kconv.h is
included from sched.h.

It is not needed to include kconv.h from sched.h. All but the net/ user
already include the kconv header file.

Move the include of the kconv.h header from sched.h it its users.
Additionally include sched.h from kconv.h to ensure that everything
task_struct related is available.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Andrey Konovalov <andreyknvl@google.com>
Link: https://lkml.kernel.org/r/20210218173124.iy5iyqv3a4oia4vv@linutronix.de
drivers/usb/usbip/usbip_common.h
include/linux/kcov.h
include/linux/sched.h
net/core/skbuff.c
net/mac80211/iface.c
net/mac80211/rx.c