Changeset aac10f86 in mainline for kernel/generic/include/panic.h
- Timestamp:
- 2008-06-03T14:56:47Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ac426e
- Parents:
- 419886f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/panic.h
r419886f6 raac10f86 37 37 38 38 #ifdef CONFIG_DEBUG 39 # define panic(format, ...) \40 panic_printf("Kernel panic in %s() at %s on line %d: " format, __func__, \41 39 # define panic(format, ...) \ 40 panic_printf("Kernel panic in %s() at %s:%u: " format, __func__, \ 41 __FILE__, __LINE__, ##__VA_ARGS__); 42 42 #else 43 # define panic(format, ...) \44 43 # define panic(format, ...) \ 44 panic_printf("Kernel panic: " format, ##__VA_ARGS__); 45 45 #endif 46 46 47 extern void panic_printf(char *fmt, ...) __attribute__((noreturn)) 47 extern void panic_printf(char *fmt, ...) __attribute__((noreturn)); 48 48 49 49 #endif
Note:
See TracChangeset
for help on using the changeset viewer.