]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8a43ad391cc557e117fe50edf364034c105df2e
treee61fdaf3f6b6383b59e621ebfad7c2d7fe0c5461
parent566c08bd9023830e05b77c6a52ee53e84104e5a2
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