summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTom Duffy <thomas.duffy.99@alumni.brown.edu>2005-08-07 09:42:23 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-07 10:00:38 -0700
commit46bdac99382dd36e2d8c36cfb35d879b5c136965 (patch)
tree7966c5e9512751625e5ab3dfff5e7752e821e5fe /arch
parent6c79d7260a8522a54374fa10dd2838eaef492cf2 (diff)
downloadop-kernel-dev-46bdac99382dd36e2d8c36cfb35d879b5c136965.zip
op-kernel-dev-46bdac99382dd36e2d8c36cfb35d879b5c136965.tar.gz
[PATCH] visws: linkage fix
This patch add stubs to allow the visws subarch to link again. Signed-off-by: Tom Duffy <thomas.duffy.99@alumni.brown.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/mach-visws/setup.c2
-rw-r--r--arch/i386/pci/visws.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/mach-visws/setup.c b/arch/i386/mach-visws/setup.c
index 9f6d2d9..26ada6f 100644
--- a/arch/i386/mach-visws/setup.c
+++ b/arch/i386/mach-visws/setup.c
@@ -14,6 +14,8 @@
#include "cobalt.h"
#include "piix4.h"
+int no_broadcast;
+
char visws_board_type = -1;
char visws_board_rev = -1;
diff --git a/arch/i386/pci/visws.c b/arch/i386/pci/visws.c
index 314c933..6c17433 100644
--- a/arch/i386/pci/visws.c
+++ b/arch/i386/pci/visws.c
@@ -18,8 +18,10 @@
extern struct pci_raw_ops pci_direct_conf1;
static int pci_visws_enable_irq(struct pci_dev *dev) { return 0; }
+static void pci_visws_disable_irq(struct pci_dev *dev) { }
int (*pcibios_enable_irq)(struct pci_dev *dev) = &pci_visws_enable_irq;
+void (*pcibios_disable_irq)(struct pci_dev *dev) = &pci_visws_disable_irq;
void __init pcibios_penalize_isa_irq(int irq, int active) {}
OpenPOWER on IntegriCloud