Commit d5fb3426 authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds

[PATCH] voyager: fix compile after setup rework

The following

[PATCH] Clean up and refactor i386 sub-architecture setup

Doesn't quite work, since it leaves out an include of asm/io.h, without
which the use of inb/outb in the setup file won.t work.  This corrects that
and also removes a spurious acpi reference that apparently crept in ages
ago but should never have been there.
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 96c52749
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <asm/acpi.h>
#include <asm/arch_hooks.h> #include <asm/arch_hooks.h>
#include <asm/voyager.h> #include <asm/voyager.h>
#include <asm/e820.h> #include <asm/e820.h>
#include <asm/io.h>
#include <asm/setup.h> #include <asm/setup.h>
void __init pre_intr_init_hook(void) void __init pre_intr_init_hook(void)
...@@ -27,7 +27,6 @@ void __init intr_init_hook(void) ...@@ -27,7 +27,6 @@ void __init intr_init_hook(void)
smp_intr_init(); smp_intr_init();
#endif #endif
if (!acpi_ioapic)
setup_irq(2, &irq2); setup_irq(2, &irq2);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment