blob: 88320a05f0a8738615bc8ea62c5cc606edf9ff15 [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 Ellerman476792832006-10-03 14:12:08 +100018#else
19static inline void xmon_setup(void) { };
Michael Ellermanff8a8f22006-10-24 18:31:27 +020020static inline void xmon_register_spus(struct list_head *list) { };
Michael Ellerman476792832006-10-03 14:12:08 +100021#endif
Paul Mackerras60a3d742005-10-11 09:46:10 +100022
Michael Ellerman23b8acb2006-10-03 14:12:07 +100023#endif /* __KERNEL __ */
24#endif /* __ASM_POWERPC_XMON_H */