diff options
| author | Thomas Gleixner <[email protected]> | 2016-12-21 19:32:01 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-12-25 10:04:12 +0000 |
| commit | a5a1d1c2914b5316924c7893eb683a5420ebd3be (patch) | |
| tree | 9078b8a179031e7e8b320e1c69f182cc285e7b5d /drivers/clocksource/qcom-timer.c | |
| parent | Replace <asm/uaccess.h> with <linux/uaccess.h> globally (diff) | |
| download | kernel-a5a1d1c2914b5316924c7893eb683a5420ebd3be.tar.gz kernel-a5a1d1c2914b5316924c7893eb683a5420ebd3be.zip | |
clocksource: Use a plain u64 instead of cycle_t
There is no point in having an extra type for extra confusion. u64 is
unambiguous.
Conversion was done with the following coccinelle script:
@rem@
@@
-typedef u64 cycle_t;
@fix@
typedef cycle_t;
@@
-cycle_t
+u64
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: John Stultz <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
| -rw-r--r-- | drivers/clocksource/qcom-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/qcom-timer.c b/drivers/clocksource/qcom-timer.c index 3283cfa2aa52..d5d048d890d4 100644 --- a/drivers/clocksource/qcom-timer.c +++ b/drivers/clocksource/qcom-timer.c @@ -89,7 +89,7 @@ static struct clock_event_device __percpu *msm_evt; static void __iomem *source_base; -static notrace cycle_t msm_read_timer_count(struct clocksource *cs) +static notrace u64 msm_read_timer_count(struct clocksource *cs) { return readl_relaxed(source_base + TIMER_COUNT_VAL); } |
