summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-11 03:35:59 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-11 03:35:59 +0000
commitd9caac09471f1d1454d2751d977c9423bc7d5d16 (patch)
tree3028194640483bc1d8d3b88ba1d79658f66b76a3 /arch
parentde80c1f73c7368c7619cf264fd0b5f65de1d996c (diff)
Compile fixes for CONFIG_SGI_NEWPORT_GFX.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mm/Makefile1
-rw-r--r--arch/mips/mm/umap.c5
-rw-r--r--arch/mips64/mm/Makefile3
-rw-r--r--arch/mips64/mm/umap.c7
4 files changed, 11 insertions, 5 deletions
diff --git a/arch/mips/mm/Makefile b/arch/mips/mm/Makefile
index 57e3325dd..16ed11ac7 100644
--- a/arch/mips/mm/Makefile
+++ b/arch/mips/mm/Makefile
@@ -9,6 +9,7 @@
O_TARGET := mm.o
+export-objs += umap.o
obj-y += extable.o init.o fault.o loadmmu.o
obj-$(CONFIG_CPU_R3000) += r2300.o
diff --git a/arch/mips/mm/umap.c b/arch/mips/mm/umap.c
index 465bec37b..c952004c9 100644
--- a/arch/mips/mm/umap.c
+++ b/arch/mips/mm/umap.c
@@ -1,6 +1,4 @@
/*
- * arch/mips/mm/umap.c
- *
* (C) Copyright 1994 Linus Torvalds
*
* Changes:
@@ -21,6 +19,7 @@
#include <linux/shm.h>
#include <linux/errno.h>
#include <linux/mman.h>
+#include <linux/module.h>
#include <linux/string.h>
#include <linux/vmalloc.h>
#include <linux/swap.h>
@@ -106,6 +105,8 @@ remove_mapping (struct task_struct *task, unsigned long start, unsigned long end
up (&task->mm->mmap_sem);
}
+EXPORT_SYMBOL(remove_mapping);
+
void *vmalloc_uncached (unsigned long size)
{
return __vmalloc (size, GFP_KERNEL | __GFP_HIGHMEM,
diff --git a/arch/mips64/mm/Makefile b/arch/mips64/mm/Makefile
index 3b5cea2a6..48dc554e7 100644
--- a/arch/mips64/mm/Makefile
+++ b/arch/mips64/mm/Makefile
@@ -4,7 +4,8 @@
O_TARGET := mm.o
-obj-y := extable.o init.o fault.o loadmmu.o
+export-objs += umap.o
+obj-y := extable.o init.o fault.o loadmmu.o
obj-$(CONFIG_CPU_R4300) += r4xx0.o
obj-$(CONFIG_CPU_R4X00) += r4xx0.o
diff --git a/arch/mips64/mm/umap.c b/arch/mips64/mm/umap.c
index 9b0e7db1e..81a77122a 100644
--- a/arch/mips64/mm/umap.c
+++ b/arch/mips64/mm/umap.c
@@ -1,11 +1,11 @@
-/* $Id: umap.c,v 1.4 2000/01/29 01:41:59 ralf Exp $
- *
+/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1994 Linus Torvalds
* Copyright (C) 1997 Miguel de Icaza
+ * Copyright (C) 2001 Ralf Baechle
*/
#include <linux/stat.h>
#include <linux/sched.h>
@@ -16,6 +16,7 @@
#include <linux/shm.h>
#include <linux/errno.h>
#include <linux/mman.h>
+#include <linux/module.h>
#include <linux/string.h>
#include <linux/vmalloc.h>
#include <linux/swap.h>
@@ -101,6 +102,8 @@ remove_mapping (struct task_struct *task, unsigned long start, unsigned long end
up (&task->mm->mmap_sem);
}
+EXPORT_SYMBOL(remove_mapping);
+
void *vmalloc_uncached (unsigned long size)
{
return vmalloc_prot (size, PAGE_KERNEL_UNCACHED);