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
Merge to kernel-2.6.20-1.2949.fc6.vs2.2.0.1
[linux-2.6.git]
/
include
/
asm-x86_64
/
hardirq.h
diff --git
a/include/asm-x86_64/hardirq.h
b/include/asm-x86_64/hardirq.h
index
8689951
..
95d5e09
100644
(file)
--- a/
include/asm-x86_64/hardirq.h
+++ b/
include/asm-x86_64/hardirq.h
@@
-1,12
+1,14
@@
#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/irq.h>
#include <asm/pda.h>
#include <asm/apic.h>
#include <linux/threads.h>
#include <linux/irq.h>
#include <asm/pda.h>
#include <asm/apic.h>
+/* We can have at most NR_VECTORS irqs routed to a cpu at a time */
+#define MAX_HARDIRQS_PER_CPU NR_VECTORS
+
#define __ARCH_IRQ_STAT 1
#define local_softirq_pending() read_pda(__softirq_pending)
#define __ARCH_IRQ_STAT 1
#define local_softirq_pending() read_pda(__softirq_pending)