Commit 9259e15b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Thomas Bogendoerfer

mips: replace #include <asm/export.h> with #include <linux/export.h>

Commit ddb5cdba ("kbuild: generate KSYMTAB entries by modpost")
deprecated <asm/export.h>, which is now a wrapper of <linux/export.h>.

Replace #include <asm/export.h> with #include <linux/export.h>.

After all the <asm/export.h> lines are converted, <asm/export.h> and
<asm-generic/export.h> will be removed.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 122b159d
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* Mnemonic names for arguments to memcpy/__copy_user * Mnemonic names for arguments to memcpy/__copy_user
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#define dst a0 #define dst a0
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Author: Wu Zhangjin <wuzhangjin@gmail.com> * Author: Wu Zhangjin <wuzhangjin@gmail.com>
*/ */
#include <asm/export.h> #include <linux/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#include <asm/stackframe.h> #include <asm/stackframe.h>
#include <asm/ftrace.h> #include <asm/ftrace.h>
......
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
* Further modifications to make this work: * Further modifications to make this work:
* Copyright (c) 1998 Harald Koerfgen * Copyright (c) 1998 Harald Koerfgen
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asmmacro.h> #include <asm/asmmacro.h>
#include <asm/errno.h> #include <asm/errno.h>
#include <asm/export.h>
#include <asm/fpregdef.h> #include <asm/fpregdef.h>
#include <asm/mipsregs.h> #include <asm/mipsregs.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
* Copyright (C) 2000 MIPS Technologies, Inc. * Copyright (C) 2000 MIPS Technologies, Inc.
* Copyright (C) 1999, 2001 Silicon Graphics, Inc. * Copyright (C) 1999, 2001 Silicon Graphics, Inc.
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asmmacro.h> #include <asm/asmmacro.h>
#include <asm/errno.h> #include <asm/errno.h>
#include <asm/export.h>
#include <asm/fpregdef.h> #include <asm/fpregdef.h>
#include <asm/mipsregs.h> #include <asm/mipsregs.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
* Copyright (C) 2014 Imagination Technologies Ltd. * Copyright (C) 2014 Imagination Technologies Ltd.
*/ */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#undef CONFIG_CPU_HAS_PREFETCH #undef CONFIG_CPU_HAS_PREFETCH
#endif #endif
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#define dst a0 #define dst a0
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* Copyright (C) 2007 by Maciej W. Rozycki * Copyright (C) 2007 by Maciej W. Rozycki
* Copyright (C) 2011, 2012 MIPS Technologies, Inc. * Copyright (C) 2011, 2012 MIPS Technologies, Inc.
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#if LONGSIZE == 4 #if LONGSIZE == 4
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
* Copyright (C) 2011 MIPS Technologies, Inc. * Copyright (C) 2011 MIPS Technologies, Inc.
*/ */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#define EX(insn,reg,addr,handler) \ #define EX(insn,reg,addr,handler) \
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
* Copyright (c) 1996, 1998, 1999, 2004 by Ralf Baechle * Copyright (c) 1996, 1998, 1999, 2004 by Ralf Baechle
* Copyright (c) 1999 Silicon Graphics, Inc. * Copyright (c) 1999 Silicon Graphics, Inc.
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#define EX(insn,reg,addr,handler) \ #define EX(insn,reg,addr,handler) \
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
* Copyright (C) 2012 MIPS Technologies, Inc. * Copyright (C) 2012 MIPS Technologies, Inc.
* Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org> * Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org>
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#ifdef CONFIG_SIBYTE_DMA_PAGEOPS #ifdef CONFIG_SIBYTE_DMA_PAGEOPS
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
* Copyright (C) 2012 MIPS Technologies, Inc. * Copyright (C) 2012 MIPS Technologies, Inc.
* Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org> * Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org>
*/ */
#include <linux/export.h>
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/export.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#define FASTPATH_SIZE 128 #define FASTPATH_SIZE 128
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment