mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 15:09:53 +00:00
3171a0305d
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
|
||
---|---|---|
.. | ||
cpu | ||
timers | ||
vsyscall | ||
apm.c | ||
asm-offsets.c | ||
cf-enabler.c | ||
cpufreq.c | ||
early_printk.c | ||
entry.S | ||
head.S | ||
init_task.c | ||
io_generic.c | ||
io.c | ||
irq.c | ||
kgdb_jmp.S | ||
kgdb_stub.c | ||
machine_kexec.c | ||
Makefile | ||
module.c | ||
pm.c | ||
process.c | ||
ptrace.c | ||
relocate_kernel.S | ||
semaphore.c | ||
setup.c | ||
sh_bios.c | ||
sh_ksyms.c | ||
signal.c | ||
smp.c | ||
sys_sh.c | ||
syscalls.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |