traps.c (8632987380765dee716d460640aa58d58d52998e) | traps.c (0e25498f8cd43c1b5aa327f373dd094e9a006da7) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Kernel traps/events for Hexagon processor 4 * 5 * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. 6 */ 7 8#include <linux/init.h> --- 200 unchanged lines hidden (view full) --- 209 210 if (in_interrupt()) 211 panic("Fatal exception in interrupt"); 212 213 if (panic_on_oops) 214 panic("Fatal exception"); 215 216 oops_exit(); | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Kernel traps/events for Hexagon processor 4 * 5 * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. 6 */ 7 8#include <linux/init.h> --- 200 unchanged lines hidden (view full) --- 209 210 if (in_interrupt()) 211 panic("Fatal exception in interrupt"); 212 213 if (panic_on_oops) 214 panic("Fatal exception"); 215 216 oops_exit(); |
217 do_exit(err); | 217 make_dead_task(err); |
218 return 0; 219} 220 221int die_if_kernel(char *str, struct pt_regs *regs, long err) 222{ 223 if (!user_mode(regs)) 224 return die(str, regs, err); 225 else --- 208 unchanged lines hidden --- | 218 return 0; 219} 220 221int die_if_kernel(char *str, struct pt_regs *regs, long err) 222{ 223 if (!user_mode(regs)) 224 return die(str, regs, err); 225 else --- 208 unchanged lines hidden --- |