projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Define __raw_get_cpu_var and use it
[powerpc.git]
/
include
/
asm-powerpc
/
i8259.h
diff --git
a/include/asm-powerpc/i8259.h
b/include/asm-powerpc/i8259.h
index
fc4bfee
..
0392159
100644
(file)
--- a/
include/asm-powerpc/i8259.h
+++ b/
include/asm-powerpc/i8259.h
@@
-1,5
+1,6
@@
#ifndef _ASM_POWERPC_I8259_H
#define _ASM_POWERPC_I8259_H
#ifndef _ASM_POWERPC_I8259_H
#define _ASM_POWERPC_I8259_H
+#ifdef __KERNEL__
#include <linux/irq.h>
#include <linux/irq.h>
@@
-9,4
+10,5
@@
extern void i8259_init(unsigned long intack_addr, int offset);
extern int i8259_irq(struct pt_regs *regs);
extern int i8259_irq_cascade(struct pt_regs *regs, void *unused);
extern int i8259_irq(struct pt_regs *regs);
extern int i8259_irq_cascade(struct pt_regs *regs, void *unused);
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_I8259_H */
#endif /* _ASM_POWERPC_I8259_H */