Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2#ifndef __ASM_POWERPC_XMON_H
3#define __ASM_POWERPC_XMON_H
4
5/*
6 * Copyrignt (C) 2006 IBM Corp
7 */
8
9#ifdef __KERNEL__
10
11#include <linux/irqreturn.h>
12
13#ifdef CONFIG_XMON
14extern void xmon_setup(void);
15struct pt_regs;
16extern int xmon(struct pt_regs *excp);
17extern irqreturn_t xmon_irq(int, void *);
18#else
19static inline void xmon_setup(void) { }
20#endif
21
22#if defined(CONFIG_XMON) && defined(CONFIG_SMP)
23extern int cpus_are_in_xmon(void);
24#endif
25
26extern __printf(1, 2) void xmon_printf(const char *format, ...);
27
28#endif /* __KERNEL __ */
29#endif /* __ASM_POWERPC_XMON_H */