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/mips64 | |
parent | de80c1f73c7368c7619cf264fd0b5f65de1d996c (diff) |
Compile fixes for CONFIG_SGI_NEWPORT_GFX.
Diffstat (limited to 'arch/mips64')
-rw-r--r-- | arch/mips64/mm/Makefile | 3 | ||||
-rw-r--r-- | arch/mips64/mm/umap.c | 7 |
2 files changed, 7 insertions, 3 deletions
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); |