patch-2.2.18 linux/include/asm-arm/arch-nexuspci/time.h
Next file: linux/include/asm-arm/arch-rpc/hardware.h
Previous file: linux/include/asm-arm/arch-nexuspci/system.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Sep 15 23:32:34 2000
- Orig file:
v2.2.17/include/asm-arm/arch-nexuspci/time.h
- Orig date:
Fri Apr 21 12:46:48 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-arm/arch-nexuspci/time.h linux/include/asm-arm/arch-nexuspci/time.h
@@ -38,6 +38,9 @@
readb(UART_BASE + 0x14);
do_timer(regs);
+
+ 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)