softirq: Move various protections into inline helpers
authorThomas Gleixner <tglx@linutronix.de>
Tue, 9 Mar 2021 08:55:55 +0000 (09:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 17 Mar 2021 15:34:10 +0000 (16:34 +0100)
commitf02fc963e91160e7343933823e8b73a0b2ab0a16
treee61fdaf3f6b6383b59e621ebfad7c2d7fe0c5461
parent6516b386d8a07102aac353daf9c0fe0045faeb74
softirq: Move various protections into inline helpers

To allow reuse of the bulk of softirq processing code for RT and to avoid
#ifdeffery all over the place, split protections for various code sections
out into inline helpers so the RT variant can just replace them in one go.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210309085727.310118772@linutronix.de
kernel/softirq.c