| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | 6 | #ifndef _ASM_ARC_BUG_H |
|---|
| .. | .. |
|---|
| 16 | 13 | struct task_struct; |
|---|
| 17 | 14 | |
|---|
| 18 | 15 | void show_regs(struct pt_regs *regs); |
|---|
| 19 | | -void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs); |
|---|
| 16 | +void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, |
|---|
| 17 | + const char *loglvl); |
|---|
| 20 | 18 | void show_kernel_fault_diag(const char *str, struct pt_regs *regs, |
|---|
| 21 | 19 | unsigned long address); |
|---|
| 22 | 20 | void die(const char *str, struct pt_regs *regs, unsigned long address); |
|---|