Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
611 B
C
30 lines
611 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef __ASM_POWERPC_XMON_H
|
|
#define __ASM_POWERPC_XMON_H
|
|
|
|
/*
|
|
* Copyrignt (C) 2006 IBM Corp
|
|
*/
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/irqreturn.h>
|
|
|
|
#ifdef CONFIG_XMON
|
|
extern void xmon_setup(void);
|
|
struct pt_regs;
|
|
extern int xmon(struct pt_regs *excp);
|
|
extern irqreturn_t xmon_irq(int, void *);
|
|
#else
|
|
static inline void xmon_setup(void) { }
|
|
#endif
|
|
|
|
#if defined(CONFIG_XMON) && defined(CONFIG_SMP)
|
|
extern int cpus_are_in_xmon(void);
|
|
#endif
|
|
|
|
extern __printf(1, 2) void xmon_printf(const char *format, ...);
|
|
|
|
#endif /* __KERNEL __ */
|
|
#endif /* __ASM_POWERPC_XMON_H */
|