* Dmitry Antipov dmitry.antipov@linaro.org wrote:
Since CONFIG_IRQ_TIME_ACCOUNTING is architecture-agnostic, move it from x86 area to common code.
Signed-off-by: Dmitry Antipov dmitry.antipov@linaro.org
arch/x86/Kconfig | 11 ----------- lib/Kconfig.debug | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-)
That's not enough, right now on x86 this code needs special architecture glue, see how the noirqtime flag is used to call into enable_sched_clock_irqtime() after TSC init.
So if you apply your patch and boot CONFIG_IRQ_TIME_ACCOUNTING=y on say an ARM system, nothing will be done, because sched_clock_irqtime is always zero.
Thanks,
Ingo