Changeset 3ee8a075 in mainline for kernel/generic


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.

Location:
kernel/generic
Files:
3 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__);
  • kernel/generic/include/synch/spinlock.h

    r44bec47 r3ee8a075  
    113113                printf("Deadlock probe %s: exceeded threshold %d\n",    \
    114114                    "cpu%d: function=%s, line=%d\n",                    \
    115                     #pname, (value), CPU->id, __FUNCTION__, __LINE__);  \
     115                    #pname, (value), CPU->id, __func__, __LINE__);      \
    116116        }
    117117#else
  • kernel/generic/src/console/kconsole.c

    r44bec47 r3ee8a075  
    412412
    413413        if (!stdin) {
    414                 printf("%s: no stdin\n", __FUNCTION__);
     414                printf("%s: no stdin\n", __func__);
    415415                return;
    416416        }
Note: See TracChangeset for help on using the changeset viewer.