mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-05 17:13:47 +01:00
Disintegrate asm/system.h for Score. Not compiled. Signed-off-by: David Howells <[email protected]> cc: Chen Liqin <[email protected]>
18 lines
539 B
C
18 lines
539 B
C
#ifndef _ASM_SCORE_BUG_H
|
|
#define _ASM_SCORE_BUG_H
|
|
|
|
#include <asm-generic/bug.h>
|
|
|
|
struct pt_regs;
|
|
extern void __die(const char *, struct pt_regs *, const char *,
|
|
const char *, unsigned long) __attribute__((noreturn));
|
|
extern void __die_if_kernel(const char *, struct pt_regs *, const char *,
|
|
const char *, unsigned long);
|
|
|
|
#define die(msg, regs) \
|
|
__die(msg, regs, __FILE__ ":", __func__, __LINE__)
|
|
#define die_if_kernel(msg, regs) \
|
|
__die_if_kernel(msg, regs, __FILE__ ":", __func__, __LINE__)
|
|
|
|
#endif /* _ASM_SCORE_BUG_H */
|