Changeset e2b762ec in mainline for kernel/arch/ia32/src


Ignore:
Timestamp:
2009-03-16T21:58:05Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36c061
Parents:
d9167a1c
Message:

Make kernel symbol information optional.

File:
1 edited

Legend:

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

    rd9167a1c re2b762ec  
    4545#include <mm/as.h>
    4646#include <arch.h>
    47 #include <symtab.h>
    4847#include <proc/thread.h>
    4948#include <proc/task.h>
     
    5453#include <ddi/irq.h>
    5554
     55#ifdef CONFIG_SYMTAB
     56#include <symtab.h>
     57#endif
     58
    5659/*
    5760 * Interrupt and exception dispatching.
     
    6467void decode_istate(istate_t *istate)
    6568{
    66         char *symbol = get_symtab_entry(istate->eip);
    67 
     69        char *symbol;
     70
     71#ifdef CONFIG_SYMTAB
     72        symbol = get_symtab_entry(istate->eip);
    6873        if (!symbol)
    6974                symbol = "";
     75#else
     76        symbol = "";
     77#endif
    7078
    7179        if (CPU)
Note: See TracChangeset for help on using the changeset viewer.