dumpstack.c (860dbce3d8dd90cb9e909c58fa79808766243651) | dumpstack.c (67626fadd26977aca76d3540b80ce99233399cdf) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Stack dumping functions 4 * 5 * Copyright IBM Corp. 1999, 2013 6 */ 7 8#include <linux/kallsyms.h> --- 185 unchanged lines hidden (view full) --- 194 console_verbose(); 195 spin_lock_irq(&die_lock); 196 bust_spinlocks(1); 197 printk("%s: %04x ilc:%d [#%d] ", str, regs->int_code & 0xffff, 198 regs->int_code >> 17, ++die_counter); 199#ifdef CONFIG_PREEMPT 200 pr_cont("PREEMPT "); 201#endif | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Stack dumping functions 4 * 5 * Copyright IBM Corp. 1999, 2013 6 */ 7 8#include <linux/kallsyms.h> --- 185 unchanged lines hidden (view full) --- 194 console_verbose(); 195 spin_lock_irq(&die_lock); 196 bust_spinlocks(1); 197 printk("%s: %04x ilc:%d [#%d] ", str, regs->int_code & 0xffff, 198 regs->int_code >> 17, ++die_counter); 199#ifdef CONFIG_PREEMPT 200 pr_cont("PREEMPT "); 201#endif |
202#ifdef CONFIG_SMP | |
203 pr_cont("SMP "); | 202 pr_cont("SMP "); |
204#endif | |
205 if (debug_pagealloc_enabled()) 206 pr_cont("DEBUG_PAGEALLOC"); 207 pr_cont("\n"); 208 notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); 209 print_modules(); 210 show_regs(regs); 211 bust_spinlocks(0); 212 add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE); 213 spin_unlock_irq(&die_lock); 214 if (in_interrupt()) 215 panic("Fatal exception in interrupt"); 216 if (panic_on_oops) 217 panic("Fatal exception: panic_on_oops"); 218 oops_exit(); 219 do_exit(SIGSEGV); 220} | 203 if (debug_pagealloc_enabled()) 204 pr_cont("DEBUG_PAGEALLOC"); 205 pr_cont("\n"); 206 notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); 207 print_modules(); 208 show_regs(regs); 209 bust_spinlocks(0); 210 add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE); 211 spin_unlock_irq(&die_lock); 212 if (in_interrupt()) 213 panic("Fatal exception in interrupt"); 214 if (panic_on_oops) 215 panic("Fatal exception: panic_on_oops"); 216 oops_exit(); 217 do_exit(SIGSEGV); 218} |