Kernel: Increment both 16-bit and 32-bit tick counters on every timer interrupt
authorWill Sowerbutts <will@sowerbutts.com>
Sat, 27 Dec 2014 01:52:51 +0000 (01:52 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Sat, 27 Dec 2014 11:40:11 +0000 (11:40 +0000)
Kernel/process.c

index 1e11474..e47d468 100644 (file)
@@ -328,6 +328,7 @@ void timer_interrupt(void)
                        udata.u_utime++;
        }
        ticks++;
+       miniticks++;
 
        /* Do once-per-decisecond things - this doesn't work out well on
           boxes with 64 ticks/second.. need a better approach */