Michael Ellerman | 23b8acb | 2006-10-03 14:12:07 +1000 | [diff] [blame] | 1 | #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 Mackerras | 60a3d74 | 2005-10-11 09:46:10 +1000 | [diff] [blame] | 13 | #ifdef __KERNEL__ |
| 14 | |
Michael Ellerman | 47679283 | 2006-10-03 14:12:08 +1000 | [diff] [blame] | 15 | #ifdef CONFIG_XMON |
| 16 | extern void xmon_setup(void); |
Michael Ellerman | ff8a8f2 | 2006-10-24 18:31:27 +0200 | [diff] [blame] | 17 | extern void xmon_register_spus(struct list_head *list); |
Michael Ellerman | 47679283 | 2006-10-03 14:12:08 +1000 | [diff] [blame] | 18 | #else |
| 19 | static inline void xmon_setup(void) { }; |
Michael Ellerman | ff8a8f2 | 2006-10-24 18:31:27 +0200 | [diff] [blame] | 20 | static inline void xmon_register_spus(struct list_head *list) { }; |
Michael Ellerman | 47679283 | 2006-10-03 14:12:08 +1000 | [diff] [blame] | 21 | #endif |
Paul Mackerras | 60a3d74 | 2005-10-11 09:46:10 +1000 | [diff] [blame] | 22 | |
Michael Ellerman | 23b8acb | 2006-10-03 14:12:07 +1000 | [diff] [blame] | 23 | #endif /* __KERNEL __ */ |
| 24 | #endif /* __ASM_POWERPC_XMON_H */ |