Staging: hv: hv_mouse: unwind the initialization process a bit
[zen-stable.git] / arch / powerpc / include / asm / xmon.h
blob5eb8e599e5cc37413dcf1dadd076edd984135f73
1 #ifndef __ASM_POWERPC_XMON_H
2 #define __ASM_POWERPC_XMON_H
4 /*
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.
13 #ifdef __KERNEL__
15 #include <linux/irqreturn.h>
17 #ifdef CONFIG_XMON
18 extern void xmon_setup(void);
19 extern void xmon_register_spus(struct list_head *list);
20 struct pt_regs;
21 extern int xmon(struct pt_regs *excp);
22 extern irqreturn_t xmon_irq(int, void *);
23 #else
24 static inline void xmon_setup(void) { };
25 static inline void xmon_register_spus(struct list_head *list) { };
26 #endif
28 #if defined(CONFIG_XMON) && defined(CONFIG_SMP)
29 extern int cpus_are_in_xmon(void);
30 #endif
32 #endif /* __KERNEL __ */
33 #endif /* __ASM_POWERPC_XMON_H */