Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/include/bug.h b/include/bug.h
- index 31ae17f..c402a32 100644
- --- a/include/bug.h
- +++ b/include/bug.h
- @@ -2,13 +2,17 @@
- #define BUG() {do { \
- printk("BUG in file: %s function: %s line: %d\n", \
- __FILE__, __FUNCTION__, __LINE__); \
- } while(0); \
- + wfi(); /* coders against global warming! */ \
- while(1);}
- #define BUG_ON(x) {if (x) BUG();}
Add Comment
Please, Sign In to add comment