Changeset 7f043c0 in mainline for kernel/generic/include/interrupt.h


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/generic/include/interrupt.h

    rd8431986 r7f043c0  
    4949{ \
    5050        if (istate_from_uspace(istate)) { \
    51                 klog_printf("Task %llu killed due to an exception at %p.", TASK->taskid, istate_get_pc(istate)); \
     51                task_t *task = TASK; \
     52                klog_printf("Task %llu killed due to an exception at %p.", task->taskid, istate_get_pc(istate)); \
    5253                klog_printf("  " cmd, ##__VA_ARGS__); \
    53                 task_kill(TASK->taskid); \
     54                task_kill(task->taskid); \
    5455                thread_exit(); \
    5556        } \
Note: See TracChangeset for help on using the changeset viewer.