summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>1999-10-17 19:55:22 +0000
committerHarald Koerfgen <hkoerfg@web.de>1999-10-17 19:55:22 +0000
commit929e0befd2cc9e36339bd8da47ad552192e61545 (patch)
tree2d312a0358539fd1c06f4c5ec509e5b09a746466 /arch/mips/dec
parentf20726c6656eb8412fafe93d7e42bef64819bb99 (diff)
Some minor bugfixes:
o Fix braino in lib/Makefile o Export __wbflush() and release_tc_card() for modules o DMA isn't limited on DECstations o remove elf2ecoff and addinitrd while "make clean"
Diffstat (limited to 'arch/mips/dec')
-rw-r--r--arch/mips/dec/Makefile8
-rw-r--r--arch/mips/dec/wbflush.c6
2 files changed, 13 insertions, 1 deletions
diff --git a/arch/mips/dec/Makefile b/arch/mips/dec/Makefile
index 0d23b8fbd..d3f65947a 100644
--- a/arch/mips/dec/Makefile
+++ b/arch/mips/dec/Makefile
@@ -13,7 +13,7 @@
all: dec.o
O_TARGET := dec.o
-O_OBJS := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o wbflush.o
+O_OBJS := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o
ifdef CONFIG_PROM_CONSOLE
O_OBJS += promcon.o
@@ -23,6 +23,12 @@ ifdef CONFIG_SERIAL
O_OBJS += serial.o
endif
+ifeq ($(CONFIG_MODULES),y)
+ OX_OBJS = wbflush.o
+else
+ O_OBJS += wbflush.o
+endif
+
int-handler.o: int-handler.S
clean:
diff --git a/arch/mips/dec/wbflush.c b/arch/mips/dec/wbflush.c
index 516a4ad2b..b1f9d3286 100644
--- a/arch/mips/dec/wbflush.c
+++ b/arch/mips/dec/wbflush.c
@@ -102,3 +102,9 @@ static void wbflush_kn02ba(void)
static void wbflush_kn03(void)
{
}
+
+#ifdef EXPORT_SYMTAB
+#include <linux/module.h>
+
+EXPORT_SYMBOL(__wbflush);
+#endif