commit | 2707745533d6d38fa7d3a2212f1fd599c3879491 | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Tue Jan 07 02:06:29 2020 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu Jan 09 18:50:18 2020 +0100 |
tree | f2a00fbd77111415632d80b5842d12b18587619b | |
parent | c79f46a282390e0f5b306007bf7b11a46d529538 [diff] |
time/sched_clock: Disable interrupts in sched_clock_register() Instead of issueing a warning if sched_clock_register() is called from a context where IRQs are enabled, the code now ensures that IRQs are indeed disabled. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200107010630.954648-1-paul@crapouillou.net