aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/hardirq.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-03-27 14:25:35 +0100
committerMichal Simek <monstr@monstr.eu>2009-03-27 14:25:35 +0100
commit4dbdc9a59656d9166f9baaf8733b73e2ad0c8fa5 (patch)
treea64d3684c77376f9bbaf467d3e71eca2180e94d0 /arch/microblaze/include/asm/hardirq.h
parent69b1b7817e68379aa55d4677657135a05a287785 (diff)
downloadkernel_samsung_aries-4dbdc9a59656d9166f9baaf8733b73e2ad0c8fa5.zip
kernel_samsung_aries-4dbdc9a59656d9166f9baaf8733b73e2ad0c8fa5.tar.gz
kernel_samsung_aries-4dbdc9a59656d9166f9baaf8733b73e2ad0c8fa5.tar.bz2
microblaze_v8: headers for irq
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/hardirq.h')
-rw-r--r--arch/microblaze/include/asm/hardirq.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/hardirq.h b/arch/microblaze/include/asm/hardirq.h
new file mode 100644
index 0000000..0f2d6b0
--- /dev/null
+++ b/arch/microblaze/include/asm/hardirq.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2006 Atmark Techno, Inc.
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+
+#ifndef _ASM_MICROBLAZE_HARDIRQ_H
+#define _ASM_MICROBLAZE_HARDIRQ_H
+
+#include <linux/cache.h>
+#include <linux/irq.h>
+#include <asm/irq.h>
+#include <asm/current.h>
+#include <linux/ptrace.h>
+
+/* should be defined in each interrupt controller driver */
+extern unsigned int get_irq(struct pt_regs *regs);
+
+typedef struct {
+ unsigned int __softirq_pending;
+} ____cacheline_aligned irq_cpustat_t;
+
+void ack_bad_irq(unsigned int irq);
+
+#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
+
+#endif /* _ASM_MICROBLAZE_HARDIRQ_H */