[PATCH 40/60] microblaze_v4: headers for irq
From: <hidden>
Date: 2008-06-26 12:57:17
Also in:
linux-arch, lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Michal Simek <monstr@monstr.eu> Signed-off-by: Michal Simek <monstr@monstr.eu> --- include/asm-microblaze/hardirq.h | 29 +++++++++++++++++++++++++++++ include/asm-microblaze/irq_regs.h | 1 + 2 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 include/asm-microblaze/hardirq.h create mode 100644 include/asm-microblaze/hw_irq.h create mode 100644 include/asm-microblaze/irq_regs.h
diff --git a/include/asm-microblaze/hardirq.h b/include/asm-microblaze/hardirq.h
new file mode 100644
index 0000000..2aca035
--- /dev/null
+++ b/include/asm-microblaze/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 <asm/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 */
diff --git a/include/asm-microblaze/hw_irq.h b/include/asm-microblaze/hw_irq.h
new file mode 100644
index 0000000..e69de29
diff --git a/include/asm-microblaze/irq_regs.h b/include/asm-microblaze/irq_regs.h
new file mode 100644
index 0000000..3dd9c0b
--- /dev/null
+++ b/include/asm-microblaze/irq_regs.h@@ -0,0 +1 @@ +#include <asm-generic/irq_regs.h>
--
1.5.4.GIT