Guest User

Untitled

a guest
Jan 11th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.71 KB | None | 0 0
  1. diff --git a/include/bug.h b/include/bug.h
  2. index 31ae17f..c402a32 100644
  3. --- a/include/bug.h
  4. +++ b/include/bug.h
  5. @@ -2,13 +2,17 @@
  6.  #define BUG()                  {do {                                                           \
  7.                                         printk("BUG in file: %s function: %s line: %d\n",       \
  8.                                                 __FILE__, __FUNCTION__, __LINE__);              \
  9.                                 } while(0);                                                     \
  10. +                                       wfi();  /* coders against global warming! */            \
  11.                                 while(1);}
  12.  
  13.  #define BUG_ON(x)              {if (x) BUG();}
Add Comment
Please, Sign In to add comment