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 /include/asm-powerpc/irqflags.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 'include/asm-powerpc/irqflags.h')
-rw-r--r-- | include/asm-powerpc/irqflags.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/asm-powerpc/irqflags.h b/include/asm-powerpc/irqflags.h deleted file mode 100644 index cc6fdba33660..000000000000 --- a/include/asm-powerpc/irqflags.h +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-powerpc/irqflags.h | ||
3 | * | ||
4 | * IRQ flags handling | ||
5 | */ | ||
6 | #ifndef _ASM_IRQFLAGS_H | ||
7 | #define _ASM_IRQFLAGS_H | ||
8 | |||
9 | #ifndef __ASSEMBLY__ | ||
10 | /* | ||
11 | * Get definitions for raw_local_save_flags(x), etc. | ||
12 | */ | ||
13 | #include <asm-powerpc/hw_irq.h> | ||
14 | |||
15 | #else | ||
16 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
17 | /* | ||
18 | * Most of the CPU's IRQ-state tracing is done from assembly code; we | ||
19 | * have to call a C function so call a wrapper that saves all the | ||
20 | * C-clobbered registers. | ||
21 | */ | ||
22 | #define TRACE_ENABLE_INTS bl .trace_hardirqs_on | ||
23 | #define TRACE_DISABLE_INTS bl .trace_hardirqs_off | ||
24 | #define TRACE_AND_RESTORE_IRQ_PARTIAL(en,skip) \ | ||
25 | cmpdi en, 0; \ | ||
26 | bne 95f; \ | ||
27 | stb en,PACASOFTIRQEN(r13); \ | ||
28 | bl .trace_hardirqs_off; \ | ||
29 | b skip; \ | ||
30 | 95: bl .trace_hardirqs_on; \ | ||
31 | li en,1; | ||
32 | #define TRACE_AND_RESTORE_IRQ(en) \ | ||
33 | TRACE_AND_RESTORE_IRQ_PARTIAL(en,96f); \ | ||
34 | 96: stb en,PACASOFTIRQEN(r13) | ||
35 | #else | ||
36 | #define TRACE_ENABLE_INTS | ||
37 | #define TRACE_DISABLE_INTS | ||
38 | #define TRACE_AND_RESTORE_IRQ_PARTIAL(en,skip) | ||
39 | #define TRACE_AND_RESTORE_IRQ(en) \ | ||
40 | stb en,PACASOFTIRQEN(r13) | ||
41 | #endif | ||
42 | #endif | ||
43 | |||
44 | #endif | ||