patch-2.2.11 linux/arch/alpha/kernel/time.c
Next file: linux/arch/alpha/math-emu/Makefile
Previous file: linux/arch/alpha/kernel/sys_miata.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Aug 9 12:04:38 1999
- Orig file:
v2.2.10/linux/arch/alpha/kernel/time.c
- Orig date:
Sat Jun 12 11:52:52 1999
diff -u --recursive --new-file v2.2.10/linux/arch/alpha/kernel/time.c linux/arch/alpha/kernel/time.c
@@ -94,6 +94,11 @@
smp_percpu_timer_interrupt(regs);
if (smp_processor_id() != smp_boot_cpuid)
return;
+#else
+ /* Not SMP, do kernel PC profiling here */
+ if (!user_mode(regs)) {
+ alpha_do_profile(regs->pc);
+ }
#endif
write_lock(&xtime_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)