patch-2.3.11 linux/include/asm-arm/arch-arc/time.h

Next file: linux/include/asm-arm/arch-ebsa110/hardware.h
Previous file: linux/include/asm-alpha/spinlock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.10/linux/include/asm-arm/arch-arc/time.h linux/include/asm-arm/arch-arc/time.h
@@ -167,6 +167,9 @@
 		else
 			last_rtc_update = xtime.tv_sec - 600; /* do it again in 60 s */
 	}
+
+	if (!user_mode(regs))
+		do_profile(instruction_pointer(regs));
 }
 
 static struct irqaction timerirq = {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)