Ignore:
Timestamp:
2009-03-16T21:58:05Z (15 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/generic/src/interrupt/interrupt.c

    rd9167a1c re2b762ec  
    4646#include <panic.h>
    4747#include <print.h>
     48
     49#ifdef CONFIG_SYMTAB
    4850#include <symtab.h>
     51#endif
    4952
    5053static struct {
     
    131134       
    132135        for (i = 0; i < IVT_ITEMS; i++) {
     136#ifdef CONFIG_SYMTAB
    133137                symbol = get_symtab_entry((unative_t) exc_table[i].f);
    134138                if (!symbol)
    135139                        symbol = "not found";
     140#else
     141                symbol = "n/a";
     142#endif
    136143
    137144#ifdef __32_BITS__
Note: See TracChangeset for help on using the changeset viewer.