diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-08-01 01:20:30 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-03 22:02:00 -0400 |
commit | b8b572e1015f81b4e748417be2629dfe51ab99f9 (patch) | |
tree | 7df58667d5ed71d6c8f8f4ce40ca16b6fb776d0b /arch/powerpc/include/asm/xmon.h | |
parent | 2b12a4c524812fb3f6ee590a02e65b95c8c32229 (diff) |
powerpc: Move include files to arch/powerpc/include/asm
from include/asm-powerpc. This is the result of a
mkdir arch/powerpc/include/asm
git mv include/asm-powerpc/* arch/powerpc/include/asm
Followed by a few documentation/comment fixups and a couple of places
where <asm-powepc/...> was being used explicitly. Of the latter only
one was outside the arch code and it is a driver only built for powerpc.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/xmon.h')
-rw-r--r-- | arch/powerpc/include/asm/xmon.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/xmon.h b/arch/powerpc/include/asm/xmon.h new file mode 100644 index 000000000000..5eb8e599e5cc --- /dev/null +++ b/arch/powerpc/include/asm/xmon.h | |||
@@ -0,0 +1,33 @@ | |||
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 | |||
13 | #ifdef __KERNEL__ | ||
14 | |||
15 | #include <linux/irqreturn.h> | ||
16 | |||
17 | #ifdef CONFIG_XMON | ||
18 | extern void xmon_setup(void); | ||
19 | extern void xmon_register_spus(struct list_head *list); | ||
20 | struct pt_regs; | ||
21 | extern int xmon(struct pt_regs *excp); | ||
22 | extern irqreturn_t xmon_irq(int, void *); | ||
23 | #else | ||
24 | static inline void xmon_setup(void) { }; | ||
25 | static inline void xmon_register_spus(struct list_head *list) { }; | ||
26 | #endif | ||
27 | |||
28 | #if defined(CONFIG_XMON) && defined(CONFIG_SMP) | ||
29 | extern int cpus_are_in_xmon(void); | ||
30 | #endif | ||
31 | |||
32 | #endif /* __KERNEL __ */ | ||
33 | #endif /* __ASM_POWERPC_XMON_H */ | ||