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 e63316239938164be150d0a9d73dac94fa9b4b92..4199ffecc0ff06bde4b26fa5f09d1fd0a9a08601 100644 (file)
@@ -9,7 +9,7 @@
     |       alpha: |  ..  |
     |         arc: | TODO |
     |         arm: |  ok  |
-    |       arm64: |  ..  |
+    |       arm64: |  ok  |
     |       avr32: | TODO |
     |    blackfin: | TODO |
     |         c6x: | TODO |
index 871f21783866d5fdb1557ec56e5f13b602ba331a..4876459c08387ec4988a7317d2f108a97f8a7a7a 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