1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Timer tick function for architectures that lack generic clockevents, 4 * consolidated here from m68k/ia64/parisc/arm. 5 */ 6 7 #include <linux/irq.h> 8 #include <linux/profile.h> 9 #include <linux/timekeeper_internal.h> 10 11 #include "tick-internal.h" 12 13 void legacy_timer_tick(unsigned long ticks) 14 { 15 if (ticks) 16 xtime_update(ticks); 17 update_process_times(user_mode(get_irq_regs())); 18 profile_tick(CPU_PROFILING); 19 } 20