patch-2.3.11 linux/arch/alpha/kernel/time.c
Next file: linux/arch/alpha/math-emu/ieee-math.c
Previous file: linux/arch/alpha/kernel/sys_dp264.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Jul 12 07:49:36 1999
- Orig file:
v2.3.10/linux/arch/alpha/kernel/time.c
- Orig date:
Tue Jun 22 10:46:52 1999
diff -u --recursive --new-file v2.3.10/linux/arch/alpha/kernel/time.c linux/arch/alpha/kernel/time.c
@@ -94,6 +94,10 @@
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)