Skip to content
Commit b709e32e authored by Pingfan Liu's avatar Pingfan Liu Committed by Michael Ellerman
Browse files

powerpc/time: Enable sched clock for irqtime



When CONFIG_IRQ_TIME_ACCOUNTING and CONFIG_VIRT_CPU_ACCOUNTING_GEN, powerpc
does not enable "sched_clock_irqtime" and can not utilize irq time
accounting.

Like x86, powerpc does not use the sched_clock_register() interface. So it
needs an dedicated call to enable_sched_clock_irqtime() to enable irq time
accounting.

Fixes: 518470fe ("powerpc: Add HAVE_IRQ_TIME_ACCOUNTING")
Signed-off-by: default avatarPingfan Liu <kernelfans@gmail.com>
[mpe: Add fixes tag]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1603349479-26185-1-git-send-email-kernelfans@gmail.com
parent ed5b00a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment