cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

bug.h (352B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __ASM_BUG_H
      3#define __ASM_BUG_H
      4
      5#include <linux/compiler.h>
      6
      7#ifdef CONFIG_BUG
      8
      9#include <asm/break.h>
     10
     11static inline void __noreturn BUG(void)
     12{
     13	__asm__ __volatile__("break %0" : : "i" (BRK_BUG));
     14	unreachable();
     15}
     16
     17#define HAVE_ARCH_BUG
     18
     19#endif
     20
     21#include <asm-generic/bug.h>
     22
     23#endif /* __ASM_BUG_H */