Changeset 3ee8a075 in mainline for kernel/generic
- Timestamp:
- 2007-06-06T20:25:51Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b781c0
- Parents:
- 44bec47
- Location:
- kernel/generic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/panic.h
r44bec47 r3ee8a075 37 37 38 38 #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__); 40 40 #else 41 41 # define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__); -
kernel/generic/include/synch/spinlock.h
r44bec47 r3ee8a075 113 113 printf("Deadlock probe %s: exceeded threshold %d\n", \ 114 114 "cpu%d: function=%s, line=%d\n", \ 115 #pname, (value), CPU->id, __ FUNCTION__, __LINE__); \115 #pname, (value), CPU->id, __func__, __LINE__); \ 116 116 } 117 117 #else -
kernel/generic/src/console/kconsole.c
r44bec47 r3ee8a075 412 412 413 413 if (!stdin) { 414 printf("%s: no stdin\n", __ FUNCTION__);414 printf("%s: no stdin\n", __func__); 415 415 return; 416 416 }
Note:
See TracChangeset
for help on using the changeset viewer.