Changeset 3ee8a075 in mainline for kernel/generic/include/panic.h


Ignore:
Timestamp:
2007-06-06T20:25:51Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b781c0
Parents:
44bec47
Message:

Replace gcc-specific FUNCTION with C99 func.
suncc's xregs=no%float can be used only on sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/panic.h

    r44bec47 r3ee8a075  
    3737
    3838#ifdef CONFIG_DEBUG
    39 #       define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__);
     39#       define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __func__, __FILE__, __LINE__, ##__VA_ARGS__);
    4040#else
    4141#       define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__);
Note: See TracChangeset for help on using the changeset viewer.