clocksource: Use a plain u64 instead of cycle_t
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Dec 2016 19:32:01 +0000 (20:32 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 Dec 2016 10:04:12 +0000 (11:04 +0100)
commita5a1d1c2914b5316924c7893eb683a5420ebd3be
tree9078b8a179031e7e8b320e1c69f182cc285e7b5d
parent7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba
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 <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
132 files changed:
arch/alpha/kernel/time.c
arch/arm/mach-davinci/time.c
arch/arm/mach-ep93xx/timer-ep93xx.c
arch/arm/mach-footbridge/dc21285-timer.c
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-mmp/time.c
arch/arm/mach-omap2/timer.c
arch/arm/plat-iop/time.c
arch/avr32/kernel/time.c
arch/blackfin/kernel/time-ts.c
arch/c6x/kernel/time.c
arch/hexagon/kernel/time.c
arch/ia64/kernel/cyclone.c
arch/ia64/kernel/fsyscall_gtod_data.h
arch/ia64/kernel/time.c
arch/ia64/sn/kernel/sn2/timer.c
arch/m68k/68000/timers.c
arch/m68k/coldfire/dma_timer.c
arch/m68k/coldfire/pit.c
arch/m68k/coldfire/sltimers.c
arch/m68k/coldfire/timers.c
arch/microblaze/kernel/timer.c
arch/mips/alchemy/common/time.c
arch/mips/cavium-octeon/csrc-octeon.c
arch/mips/jz4740/time.c
arch/mips/kernel/cevt-txx9.c
arch/mips/kernel/csrc-bcm1480.c
arch/mips/kernel/csrc-ioasic.c
arch/mips/kernel/csrc-r4k.c
arch/mips/kernel/csrc-sb1250.c
arch/mips/loongson32/common/time.c
arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c
arch/mips/loongson64/loongson-3/hpet.c
arch/mips/mti-malta/malta-time.c
arch/mips/netlogic/common/time.c
arch/mips/sgi-ip27/ip27-timer.c
arch/mn10300/kernel/csrc-mn10300.c
arch/nios2/kernel/time.c
arch/openrisc/kernel/time.c
arch/parisc/kernel/time.c
arch/powerpc/kernel/time.c
arch/s390/kernel/time.c
arch/sparc/kernel/time_32.c
arch/sparc/kernel/time_64.c
arch/um/kernel/time.c
arch/unicore32/kernel/time.c
arch/x86/entry/vdso/vclock_gettime.c
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/pvclock.h
arch/x86/include/asm/tsc.h
arch/x86/include/asm/vgtod.h
arch/x86/kernel/apb_timer.c
arch/x86/kernel/cpu/mshyperv.c
arch/x86/kernel/hpet.c
arch/x86/kernel/kvmclock.c
arch/x86/kernel/pvclock.c
arch/x86/kernel/tsc.c
arch/x86/kvm/x86.c
arch/x86/lguest/boot.c
arch/x86/platform/uv/uv_time.c
arch/x86/xen/time.c
arch/x86/xen/xen-ops.h
arch/xtensa/kernel/time.c
drivers/char/hpet.c
drivers/clocksource/acpi_pm.c
drivers/clocksource/arc_timer.c
drivers/clocksource/arm_arch_timer.c
drivers/clocksource/arm_global_timer.c
drivers/clocksource/cadence_ttc_timer.c
drivers/clocksource/clksrc-dbx500-prcmu.c
drivers/clocksource/dw_apb_timer.c
drivers/clocksource/em_sti.c
drivers/clocksource/exynos_mct.c
drivers/clocksource/h8300_timer16.c
drivers/clocksource/h8300_tpu.c
drivers/clocksource/i8253.c
drivers/clocksource/jcore-pit.c
drivers/clocksource/metag_generic.c
drivers/clocksource/mips-gic-timer.c
drivers/clocksource/mmio.c
drivers/clocksource/mxs_timer.c
drivers/clocksource/qcom-timer.c
drivers/clocksource/samsung_pwm_timer.c
drivers/clocksource/scx200_hrt.c
drivers/clocksource/sh_cmt.c
drivers/clocksource/sh_tmu.c
drivers/clocksource/tcb_clksrc.c
drivers/clocksource/time-pistachio.c
drivers/clocksource/timer-atlas7.c
drivers/clocksource/timer-atmel-pit.c
drivers/clocksource/timer-atmel-st.c
drivers/clocksource/timer-nps.c
drivers/clocksource/timer-prima2.c
drivers/clocksource/timer-sun5i.c
drivers/clocksource/timer-ti-32k.c
drivers/clocksource/vt8500_timer.c
drivers/hv/hv.c
drivers/irqchip/irq-mips-gic.c
drivers/net/ethernet/amd/xgbe/xgbe-ptp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/freescale/fec_ptp.c
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/ptp.c
drivers/net/ethernet/intel/igb/igb_ptp.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
drivers/net/ethernet/mellanox/mlx4/en_clock.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
drivers/net/ethernet/ti/cpts.c
include/kvm/arm_arch_timer.h
include/linux/clocksource.h
include/linux/dw_apb_timer.h
include/linux/irqchip/mips-gic.h
include/linux/mlx4/device.h
include/linux/timecounter.h
include/linux/timekeeper_internal.h
include/linux/timekeeping.h
include/linux/types.h
kernel/time/clocksource.c
kernel/time/jiffies.c
kernel/time/timecounter.c
kernel/time/timekeeping.c
kernel/time/timekeeping_internal.h
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_irqsoff.c
kernel/trace/trace_sched_wakeup.c
sound/hda/hdac_stream.c
virt/kvm/arm/arch_timer.c