diff mbox

powerpc: Add HAVE_IRQ_TIME_ACCOUNTING

Message ID 20170519054641.12406-1-anton@ozlabs.org (mailing list archive)
State Accepted
Commit 518470fe962e23ca69a818e1e507eb4d28b6b09b
Headers show

Commit Message

Anton Blanchard May 19, 2017, 5:46 a.m. UTC
From: Anton Blanchard <anton@samba.org>

Allow us to enable IRQ_TIME_ACCOUNTING. Even though we currently
use VIRT_CPU_ACCOUNTING_NATIVE, that option is quite heavy
weight and IRQ_TIME_ACCOUNTING might be better in some cases.

Signed-off-by: Anton Blanchard <anton@samba.org>
---
 arch/powerpc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Ellerman May 30, 2017, 9:11 a.m. UTC | #1
On Fri, 2017-05-19 at 05:46:41 UTC, Anton Blanchard wrote:
> From: Anton Blanchard <anton@samba.org>
> 
> Allow us to enable IRQ_TIME_ACCOUNTING. Even though we currently
> use VIRT_CPU_ACCOUNTING_NATIVE, that option is quite heavy
> weight and IRQ_TIME_ACCOUNTING might be better in some cases.
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/518470fe962e23ca69a818e1e507eb

cheers
diff mbox

Patch

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index f7c8f9972f61..d090275ace44 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -208,6 +208,7 @@  config PPC
 	select HAVE_REGS_AND_STACK_ACCESS_API
 	select HAVE_SYSCALL_TRACEPOINTS
 	select HAVE_VIRT_CPU_ACCOUNTING
+	select HAVE_IRQ_TIME_ACCOUNTING
 	select IRQ_DOMAIN
 	select IRQ_FORCED_THREADING
 	select MODULES_USE_ELF_RELA