Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 9th, 2011  |  syntax: None  |  size: 0.35 KB  |  views: 60  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/kernel/panic.c b/kernel/panic.c
  2. index 991bb87..7ebf480 100644
  3. --- a/kernel/panic.c
  4. +++ b/kernel/panic.c
  5. @@ -344,6 +344,8 @@ void print_oops_end_marker(void)
  6.         init_oops_id();
  7.         printk(KERN_WARNING "---[ end trace %016llx ]---\n",
  8.                 (unsigned long long)oops_id);
  9. +local_irq_disable();
  10. +while (1);
  11.  }
  12.  
  13.  /*
clone this paste RAW Paste Data