Changeset 8df2eab in mainline


Ignore:
Timestamp:
2007-12-02T01:03:52Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b61d47d
Parents:
0287820
Message:

fix trivial bug in storing lastcount

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/interrupt.c

    r0287820 r8df2eab  
    111111        unsigned long drift;
    112112       
    113         if (cp0_count_read() < lastcount) {
    114                 /* Count overflow detection */
     113        if (cp0_count_read() < lastcount)
     114                /* Count overflow detected */
    115115                count_hi++;
    116                 lastcount = cp0_count_read();
    117         }
     116        lastcount = cp0_count_read();
    118117       
    119118        drift = cp0_count_read() - nextcount;
Note: See TracChangeset for help on using the changeset viewer.