Ignore:
Timestamp:
2007-05-31T21:39:13Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7bb0c32
Parents:
d8431986
Message:

fix ICC compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/proc/scheduler.c

    rd8431986 r7f043c0  
    6767#ifdef CONFIG_DEBUG_AS_WATCHPOINT
    6868        /* Set watchpoint on AS to ensure that nobody sets it to zero */
    69         if (CPU->id < BKPOINTS_MAX)
    70                 breakpoint_add(&((the_t *) THREAD->kstack)->as,
    71                                BKPOINT_WRITE | BKPOINT_CHECK_ZERO,
    72                                CPU->id);
     69        if (CPU->id < BKPOINTS_MAX) {
     70                the_t *the = THE;
     71                breakpoint_add(&((the_t *) the->thread->kstack)->as,
     72                        BKPOINT_WRITE | BKPOINT_CHECK_ZERO, the->cpu->id);
     73        }
    7374#endif
    7475}
Note: See TracChangeset for help on using the changeset viewer.