diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-11 03:35:59 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-11 03:35:59 +0000 |
commit | d9caac09471f1d1454d2751d977c9423bc7d5d16 (patch) | |
tree | 3028194640483bc1d8d3b88ba1d79658f66b76a3 /arch/mips/mm | |
parent | de80c1f73c7368c7619cf264fd0b5f65de1d996c (diff) |
Compile fixes for CONFIG_SGI_NEWPORT_GFX.
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/mm/umap.c | 5 |
2 files changed, 4 insertions, 2 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, |