From: Sudeep KarkadaNagesha <sudeep.karkadanage...@arm.com> This patch enables hwcap definition to the users for event stream feature on ARM architected timers.
Cc: Will Deacon <will.dea...@arm.com> Cc: Catalin Marinas <catalin.mari...@arm.com> Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanage...@arm.com> --- drivers/clocksource/arm_arch_timer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 6301ee5..05d1e13 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -162,6 +162,9 @@ static int arch_timer_setup(struct clock_event_device *clk) pos--; arch_counter_set_user_access(min(pos, 15)); + /* enable hwcap definition to the users for event stream feature */ + arch_timer_set_hwcap_evtstrm(); + return 0; } -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/