Rev 534 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 534 | Rev 615 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | # define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__); |
33 | # define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__); |
| 34 | #else |
34 | #else |
| 35 | # define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__); |
35 | # define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__); |
| 36 | #endif |
36 | #endif |
| 37 | 37 | ||
| 38 | extern void panic_printf(char *fmt, ...); |
38 | extern void panic_printf(char *fmt, ...) __attribute__((noreturn)) ; |
| 39 | 39 | ||
| 40 | #endif |
40 | #endif |