1 #ifndef __ASM_POWERPC_XMON_H
2 #define __ASM_POWERPC_XMON_H
5 * Copyrignt (C) 2006 IBM Corp
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
15 #include <linux/irqreturn.h>
18 extern void xmon_setup(void);
19 extern void xmon_register_spus(struct list_head
*list
);
21 extern int xmon(struct pt_regs
*excp
);
22 extern irqreturn_t
xmon_irq(int, void *);
24 static inline void xmon_setup(void) { };
25 static inline void xmon_register_spus(struct list_head
*list
) { };
28 #if defined(CONFIG_XMON) && defined(CONFIG_SMP)
29 extern int cpus_are_in_xmon(void);
32 extern void xmon_printf(const char *format
, ...);
34 #endif /* __KERNEL __ */
35 #endif /* __ASM_POWERPC_XMON_H */