blob: 81477f24a188463530578293dafe700a7b2ba382 [file] [log] [blame]
Michael Ellerman23b8acb2006-10-03 14:12:07 +10001#ifndef __ASM_POWERPC_XMON_H
2#define __ASM_POWERPC_XMON_H
3
4/*
5 * Copyrignt (C) 2006 IBM Corp
6 *
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.
11 */
12
Paul Mackerras60a3d742005-10-11 09:46:10 +100013#ifdef __KERNEL__
14
Michael Ellerman476792832006-10-03 14:12:08 +100015#ifdef CONFIG_XMON
16extern void xmon_setup(void);
Michael Ellermanff8a8f22006-10-24 18:31:27 +020017extern void xmon_register_spus(struct list_head *list);
Michael Ellerman7d9e7932008-05-08 14:27:13 +100018struct pt_regs;
19extern int xmon(struct pt_regs *excp);
Michael Ellerman476792832006-10-03 14:12:08 +100020#else
21static inline void xmon_setup(void) { };
Michael Ellermanff8a8f22006-10-24 18:31:27 +020022static inline void xmon_register_spus(struct list_head *list) { };
Michael Ellerman476792832006-10-03 14:12:08 +100023#endif
Paul Mackerras60a3d742005-10-11 09:46:10 +100024
Michael Ellerman23b8acb2006-10-03 14:12:07 +100025#endif /* __KERNEL __ */
26#endif /* __ASM_POWERPC_XMON_H */