patch-2.2.18 linux/include/asm-arm/arch-rpc/time.h
Next file: linux/include/asm-arm/assembler.h
Previous file: linux/include/asm-arm/arch-rpc/system.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Sep 15 23:32:34 2000
- Orig file:
v2.2.17/include/asm-arm/arch-rpc/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-rpc/time.h linux/include/asm-arm/arch-rpc/time.h
@@ -151,7 +151,7 @@
*/
buf[4] &= 0x1f;
buf[3] &= 0x3f;
-printk("Year %4d mon %02X day %02X hour %02X min %02X sec %02X\n", year, buf[4], buf[3], buf[2], buf[1], buf[0]);
+
for (i = 0; i < 5; i++)
BCD_TO_BIN(buf[i]);
@@ -175,6 +175,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)