18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _H8300_BUG_H
38c2ecf20Sopenharmony_ci#define _H8300_BUG_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/* always true */
68c2ecf20Sopenharmony_ci#define is_valid_bugaddr(addr) (1)
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <asm-generic/bug.h>
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_cistruct pt_regs;
118c2ecf20Sopenharmony_ciextern void die(const char *str, struct pt_regs *fp, unsigned long err);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif
14