genirq/timings: Encapsulate timings push
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 May 2019 20:55:17 +0000 (22:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 12 Jun 2019 08:47:04 +0000 (10:47 +0200)
commitdf025e47e4e34b779af2cc72c350877be7104ef3
tree1330e7b9d732ca6253690ab6599d8e8799d61da4
parent3c2e79f4cef7938125b356e7f5c8fd038212619a
genirq/timings: Encapsulate timings push

For the next patches providing the selftest, it is required to artificially
insert timings value in the circular buffer in order to check the
correctness of the code. Encapsulate the common code between the future
test code and the current code with an always-inline tag.

No functional change.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: andriy.shevchenko@linux.intel.com
Link: https://lkml.kernel.org/r/20190527205521.12091-5-daniel.lezcano@linaro.org
kernel/irq/internals.h