xmon.h 658 B

123456789101112131415161718192021222324
  1. #ifndef __ASM_POWERPC_XMON_H
  2. #define __ASM_POWERPC_XMON_H
  3. /*
  4. * Copyrignt (C) 2006 IBM Corp
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the License, or (at your option) any later version.
  10. */
  11. #ifdef __KERNEL__
  12. #ifdef CONFIG_XMON
  13. extern void xmon_setup(void);
  14. extern void xmon_register_spus(struct list_head *list);
  15. #else
  16. static inline void xmon_setup(void) { };
  17. static inline void xmon_register_spus(struct list_head *list) { };
  18. #endif
  19. #endif /* __KERNEL __ */
  20. #endif /* __ASM_POWERPC_XMON_H */