Rev 3702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3702 | Rev 3790 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | * |
55 | * |
56 | */ |
56 | */ |
57 | #ifdef CONFIG_DEBUG |
57 | #ifdef CONFIG_DEBUG |
58 | # define ASSERT(expr) \ |
58 | # define ASSERT(expr) \ |
59 | if (!(expr)) { \ |
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 | #else |
62 | #else |
63 | # define ASSERT(expr) |
63 | # define ASSERT(expr) |
64 | #endif |
64 | #endif |
65 | 65 |