Merge tag 'pci-v4.6-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[deliverable/linux.git] / arch / powerpc / include / asm / xmon.h
CommitLineData
23b8acb1
ME
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 */
60a3d741 12
23b8acb1 13#ifdef __KERNEL__
60a3d741 14
af3b74df
ME
15#include <linux/irqreturn.h>
16
47679283
ME
17#ifdef CONFIG_XMON
18extern void xmon_setup(void);
ff8a8f25 19extern void xmon_register_spus(struct list_head *list);
7d9e7934
ME
20struct pt_regs;
21extern int xmon(struct pt_regs *excp);
af3b74df 22extern irqreturn_t xmon_irq(int, void *);
47679283
ME
23#else
24static inline void xmon_setup(void) { };
ff8a8f25 25static inline void xmon_register_spus(struct list_head *list) { };
47679283 26#endif
60a3d741 27
1c8950ff
ME
28#if defined(CONFIG_XMON) && defined(CONFIG_SMP)
29extern int cpus_are_in_xmon(void);
30#endif
31
23b8acb1
ME
32#endif /* __KERNEL __ */
33#endif /* __ASM_POWERPC_XMON_H */
This page took 0.745581 seconds and 5 git commands to generate.