arm64: enable HAVE_IRQ_TIME_ACCOUNTING
authorWill Deacon <will.deacon@arm.com>
Mon, 23 Nov 2015 15:12:59 +0000 (15:12 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 3 Dec 2015 19:37:10 +0000 (19:37 +0000)
arm64 relies on the arm_arch_timer for sched_clock, so we can select
HAVE_IRQ_TIME_ACCOUNTING and have the core sched-clock code enable the
feature at runtime based on the rate.

Reported-by: Mario Smarduch <m.smarduch@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/features/time/irq-time-acct/arch-support.txt
arch/arm64/Kconfig

index e633162..4199ffe 100644 (file)
@@ -9,7 +9,7 @@
     |       alpha: |  ..  |
     |         arc: | TODO |
     |         arm: |  ok  |
-    |       arm64: |  ..  |
+    |       arm64: |  ok  |
     |       avr32: | TODO |
     |    blackfin: | TODO |
     |         c6x: | TODO |
index 871f217..4876459 100644 (file)
@@ -70,6 +70,7 @@ config ARM64
        select HAVE_FUNCTION_GRAPH_TRACER
        select HAVE_GENERIC_DMA_COHERENT
        select HAVE_HW_BREAKPOINT if PERF_EVENTS
+       select HAVE_IRQ_TIME_ACCOUNTING
        select HAVE_MEMBLOCK
        select HAVE_PATA_PLATFORM
        select HAVE_PERF_EVENTS