diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-10-04 05:17:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 10:55:30 -0400 |
commit | 95d77884c77beed676036d2f74d10b470a483c63 (patch) | |
tree | 7897bc159d0d8ac972abc76e01d6e54c2bca3c84 /drivers/pci | |
parent | 03571e11c4a6d08230657f80970f0a5cc7820471 (diff) |
[PATCH] htirq: tidy up the htirq code
This moves the declarations for the architecture helpers into
include/linux/htirq.h from the generic include/linux/pci.h. Hopefully this
will make this distinction clearer.
htirq.h is included where it is needed.
The dependency on the msi code is fixed and removed.
The Makefile is tidied up.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Greg KH <greg@kroah.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/Kconfig | 1 | ||||
-rw-r--r-- | drivers/pci/Makefile | 4 | ||||
-rw-r--r-- | drivers/pci/htirq.c | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 0af6d7288415..30294127a0aa 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig | |||
@@ -55,7 +55,6 @@ config PCI_DEBUG | |||
55 | config HT_IRQ | 55 | config HT_IRQ |
56 | bool "Interrupts on hypertransport devices" | 56 | bool "Interrupts on hypertransport devices" |
57 | default y | 57 | default y |
58 | depends on PCI_MSI | ||
59 | depends on X86_LOCAL_APIC && X86_IO_APIC | 58 | depends on X86_LOCAL_APIC && X86_IO_APIC |
60 | help | 59 | help |
61 | This allows native hypertransport devices to use interrupts. | 60 | This allows native hypertransport devices to use interrupts. |
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index 04694ec7224b..e3beb784406f 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/Makefile | |||
@@ -17,6 +17,9 @@ obj-$(CONFIG_HOTPLUG_PCI) += hotplug/ | |||
17 | # Build the PCI MSI interrupt support | 17 | # Build the PCI MSI interrupt support |
18 | obj-$(CONFIG_PCI_MSI) += msi.o | 18 | obj-$(CONFIG_PCI_MSI) += msi.o |
19 | 19 | ||
20 | # Build the Hypertransport interrupt support | ||
21 | obj-$(CONFIG_HT_IRQ) += htirq.o | ||
22 | |||
20 | # | 23 | # |
21 | # Some architectures use the generic PCI setup functions | 24 | # Some architectures use the generic PCI setup functions |
22 | # | 25 | # |
@@ -29,7 +32,6 @@ obj-$(CONFIG_PPC32) += setup-irq.o | |||
29 | obj-$(CONFIG_PPC64) += setup-bus.o | 32 | obj-$(CONFIG_PPC64) += setup-bus.o |
30 | obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o | 33 | obj-$(CONFIG_MIPS) += setup-bus.o setup-irq.o |
31 | obj-$(CONFIG_X86_VISWS) += setup-irq.o | 34 | obj-$(CONFIG_X86_VISWS) += setup-irq.o |
32 | obj-$(CONFIG_HT_IRQ) += htirq.o | ||
33 | 35 | ||
34 | # | 36 | # |
35 | # ACPI Related PCI FW Functions | 37 | # ACPI Related PCI FW Functions |
diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c index 4ba46359d367..0e27f2404a83 100644 --- a/drivers/pci/htirq.c +++ b/drivers/pci/htirq.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/spinlock.h> | 11 | #include <linux/spinlock.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <linux/gfp.h> | 13 | #include <linux/gfp.h> |
14 | #include <linux/htirq.h> | ||
14 | 15 | ||
15 | /* Global ht irq lock. | 16 | /* Global ht irq lock. |
16 | * | 17 | * |