git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-frv
/
hardirq.h
diff --git
a/include/asm-frv/hardirq.h
b/include/asm-frv/hardirq.h
index
5248ca0
..
fc47515
100644
(file)
--- a/
include/asm-frv/hardirq.h
+++ b/
include/asm-frv/hardirq.h
@@
-12,8
+12,8
@@
#ifndef __ASM_HARDIRQ_H
#define __ASM_HARDIRQ_H
#ifndef __ASM_HARDIRQ_H
#define __ASM_HARDIRQ_H
-#include <linux/config.h>
#include <linux/threads.h>
#include <linux/threads.h>
+#include <linux/irq.h>
typedef struct {
unsigned int __softirq_pending;
typedef struct {
unsigned int __softirq_pending;
@@
-26,5
+26,10
@@
typedef struct {
#error SMP not available on FR-V
#endif /* CONFIG_SMP */
#error SMP not available on FR-V
#endif /* CONFIG_SMP */
+extern atomic_t irq_err_count;
+static inline void ack_bad_irq(int irq)
+{
+ atomic_inc(&irq_err_count);
+}
#endif
#endif