![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _ALPHA_BUG_H 0003 #define _ALPHA_BUG_H 0004 0005 #include <linux/linkage.h> 0006 0007 #ifdef CONFIG_BUG 0008 #include <asm/pal.h> 0009 0010 /* ??? Would be nice to use .gprel32 here, but we can't be sure that the 0011 function loaded the GP, so this could fail in modules. */ 0012 #define BUG() do { \ 0013 __asm__ __volatile__( \ 0014 "call_pal %0 # bugchk\n\t" \ 0015 ".long %1\n\t.8byte %2" \ 0016 : : "i"(PAL_bugchk), "i"(__LINE__), "i"(__FILE__)); \ 0017 unreachable(); \ 0018 } while (0) 0019 0020 #define HAVE_ARCH_BUG 0021 #endif 0022 0023 #include <asm-generic/bug.h> 0024 0025 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |