treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / hexagon / include / asm / traps.h
blob3ea5fc84c3288c50be8225dbfda79d20efd9d4d8
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Trap support for Hexagon
5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
6 */
8 #ifndef _ASM_HEXAGON_TRAPS_H
9 #define _ASM_HEXAGON_TRAPS_H
11 #include <asm/registers.h>
13 extern int die(const char *str, struct pt_regs *regs, long err);
14 extern int die_if_kernel(char *str, struct pt_regs *regs, long err);
16 #endif /* _ASM_HEXAGON_TRAPS_H */