summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/mips_ksyms.c
diff options
context:
space:
mode:
authorPaul Burton2016-11-07 12:14:16 +0100
committerRalf Baechle2017-01-03 16:48:39 +0100
commitf44374f14c388d1170404d2206d4ff760d018212 (patch)
tree9a6d627d3faa5611179fb3f989e6f90c83e3e595 /arch/mips/kernel/mips_ksyms.c
parentMIPS: Export memcpy & memset functions alongside their definitions (diff)
downloadkernel-qcow2-linux-f44374f14c388d1170404d2206d4ff760d018212.tar.gz
kernel-qcow2-linux-f44374f14c388d1170404d2206d4ff760d018212.tar.xz
kernel-qcow2-linux-f44374f14c388d1170404d2206d4ff760d018212.zip
MIPS: Export {copy, clear}_page functions alongside their definitions
Now that EXPORT_SYMBOL can be used from assembly source, move the EXPORT_SYMBOL invocations for the copy_page & clear_page functions to be alongside their definitions. With this change there are no longer any symbols exported from mips_ksyms.c so remove the file. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14515/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/mips_ksyms.c')
-rw-r--r--arch/mips/kernel/mips_ksyms.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/mips/kernel/mips_ksyms.c b/arch/mips/kernel/mips_ksyms.c
deleted file mode 100644
index f01838faae2b..000000000000
--- a/arch/mips/kernel/mips_ksyms.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Export MIPS-specific functions needed for loadable modules.
- *
- * 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) 1996, 97, 98, 99, 2000, 01, 03, 04, 05, 12 by Ralf Baechle
- * Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
- */
-#include <linux/interrupt.h>
-#include <linux/export.h>
-#include <asm/checksum.h>
-#include <linux/mm.h>
-#include <linux/uaccess.h>
-#include <asm/ftrace.h>
-#include <asm/fpu.h>
-#include <asm/msa.h>
-
-/*
- * Functions that operate on entire pages. Mostly used by memory management.
- */
-EXPORT_SYMBOL(clear_page);
-EXPORT_SYMBOL(copy_page);