Pass ticks to do_timer() and update_times(), and adjust x86_64 and s390
timer interrupt handler with this change.
Currently update_times() calculates ticks by "jiffies - wall_jiffies", but
callers of do_timer() should know how many ticks to update. Passing ticks
get rid of this redundant calculation. Also there are another redundancy
pointed out by Martin Schwidefsky.
This cleanup make a barrier added by
|
||
---|---|---|
.. | ||
apm.h | ||
bios_ebda.h | ||
do_timer.h | ||
entry_arch.h | ||
io_ports.h | ||
irq_vectors.h | ||
irq_vectors_limits.h | ||
mach_apic.h | ||
mach_apicdef.h | ||
mach_ipi.h | ||
mach_mpparse.h | ||
mach_mpspec.h | ||
mach_reboot.h | ||
mach_time.h | ||
mach_timer.h | ||
mach_traps.h | ||
mach_wakecpu.h | ||
pci-functions.h | ||
setup_arch.h | ||
smpboot_hooks.h |