aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/unaligned.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-09-22 13:10:55 -0400
committerRalf Baechle <ralf@linux-mips.org>2015-10-26 04:49:42 -0400
commit75dcfc1d678d76a82288c043bfd5bfc0fbd43b49 (patch)
tree0a871d2a6c96eee719c719fc730d1990a94e2633 /arch/mips/kernel/unaligned.c
parent4d035516921713b41bb279682e53b4fbd5a87232 (diff)
MIPS: Declare mips_debugfs_dir in a header
We have many extern declarations of mips_debugfs_dir through arch/mips/ in various C files. Unify them by declaring mips_debugfs_dir in a header, including it in each affected C file & removing the duplicate declarations. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: Alexander Sverdlin <alexander.sverdlin@nokia.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> Cc: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-kernel@vger.kernel.org Cc: Joe Perches <joe@perches.com> Cc: Jaedon Shin <jaedon.shin@gmail.com> Cc: James Hogan <james.hogan@imgtec.com> Cc: David Daney <david.daney@cavium.com> Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Cc: Markos Chandras <markos.chandras@imgtec.com> Cc: James Cowgill <James.Cowgill@imgtec.com> Patchwork: https://patchwork.linux-mips.org/patch/11181/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/unaligned.c')
-rw-r--r--arch/mips/kernel/unaligned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/unaligned.c b/arch/mips/kernel/unaligned.c
index 990354dd6bde..490cea569d57 100644
--- a/arch/mips/kernel/unaligned.c
+++ b/arch/mips/kernel/unaligned.c
@@ -85,6 +85,7 @@
85#include <asm/branch.h> 85#include <asm/branch.h>
86#include <asm/byteorder.h> 86#include <asm/byteorder.h>
87#include <asm/cop2.h> 87#include <asm/cop2.h>
88#include <asm/debug.h>
88#include <asm/fpu.h> 89#include <asm/fpu.h>
89#include <asm/fpu_emulator.h> 90#include <asm/fpu_emulator.h>
90#include <asm/inst.h> 91#include <asm/inst.h>
@@ -2295,7 +2296,6 @@ sigbus:
2295} 2296}
2296 2297
2297#ifdef CONFIG_DEBUG_FS 2298#ifdef CONFIG_DEBUG_FS
2298extern struct dentry *mips_debugfs_dir;
2299static int __init debugfs_unaligned(void) 2299static int __init debugfs_unaligned(void)
2300{ 2300{
2301 struct dentry *d; 2301 struct dentry *d;