Changeset f651e80 in mainline for kernel/generic/include
- Timestamp:
- 2009-01-08T12:07:38Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- Location:
- kernel/generic/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/debug.h
rc571f42 rf651e80 58 58 # define ASSERT(expr) \ 59 59 if (!(expr)) { \ 60 panic(" assertion failed (%s), caller=%p\n", #expr, CALLER); \60 panic("Assertion failed (%s), caller=%p.", #expr, CALLER); \ 61 61 } 62 62 #else -
kernel/generic/include/panic.h
rc571f42 rf651e80 38 38 #ifdef CONFIG_DEBUG 39 39 # define panic(format, ...) \ 40 panic_printf("Kernel panic in %s() at %s:%u: " format , __func__, \41 __ FILE__, __LINE__, ##__VA_ARGS__);40 panic_printf("Kernel panic in %s() at %s:%u: " format "\n", \ 41 __func__, __FILE__, __LINE__, ##__VA_ARGS__); 42 42 #else 43 43 # define panic(format, ...) \ 44 panic_printf("Kernel panic: " format , ##__VA_ARGS__);44 panic_printf("Kernel panic: " format "\n", ##__VA_ARGS__); 45 45 #endif 46 46
Note:
See TracChangeset
for help on using the changeset viewer.