Re: [PATCH v2 1/7] clocksource: export "arch_timer_get_rate" for the other drivers

From: Timur Tabi
Date: Fri May 22 2015 - 10:09:21 EST


fu.wei@xxxxxxxxxx wrote:
Some devices get clock from system counter, like SBSA watchdog
driver. They may need to get system counter rate.

We don't need this patch. The watchdog driver can use arch_timer_get_cntfrq() instead of arch_timer_get_rate(). There's nothing wrong with arch_timer_get_cntfrq() since the SBSA driver is intended only for ARM64 server systems, and arch_timer_get_cntfrq() is always defined for such systems.

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/