/* SPDX-License-Identifier: GPL-2.0 */1#ifndef _ALPHA_BUG_H2#define _ALPHA_BUG_H34#include <linux/linkage.h>56#ifdef CONFIG_BUG7#include <asm/pal.h>89/* ??? Would be nice to use .gprel32 here, but we can't be sure that the10function loaded the GP, so this could fail in modules. */11#define BUG() do { \12__asm__ __volatile__( \13"call_pal %0 # bugchk\n\t" \14".long %1\n\t.8byte %2" \15: : "i"(PAL_bugchk), "i"(__LINE__), "i"(__FILE__)); \16unreachable(); \17} while (0)1819#define HAVE_ARCH_BUG20#endif2122#include <asm-generic/bug.h>2324#endif252627