Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Commit ddb5cdbafaaa ("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: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Masahiro Yamada and committed by
Thomas Bogendoerfer
9259e15b 122b159d

+11 -11
+1 -1
arch/mips/cavium-octeon/octeon-memcpy.S
··· 13 13 * Mnemonic names for arguments to memcpy/__copy_user 14 14 */ 15 15 16 + #include <linux/export.h> 16 17 #include <asm/asm.h> 17 18 #include <asm/asm-offsets.h> 18 - #include <asm/export.h> 19 19 #include <asm/regdef.h> 20 20 21 21 #define dst a0
+1 -1
arch/mips/kernel/mcount.S
··· 10 10 * Author: Wu Zhangjin <wuzhangjin@gmail.com> 11 11 */ 12 12 13 - #include <asm/export.h> 13 + #include <linux/export.h> 14 14 #include <asm/regdef.h> 15 15 #include <asm/stackframe.h> 16 16 #include <asm/ftrace.h>
+1 -1
arch/mips/kernel/r2300_fpu.S
··· 11 11 * Further modifications to make this work: 12 12 * Copyright (c) 1998 Harald Koerfgen 13 13 */ 14 + #include <linux/export.h> 14 15 #include <asm/asm.h> 15 16 #include <asm/asmmacro.h> 16 17 #include <asm/errno.h> 17 - #include <asm/export.h> 18 18 #include <asm/fpregdef.h> 19 19 #include <asm/mipsregs.h> 20 20 #include <asm/asm-offsets.h>
+1 -1
arch/mips/kernel/r4k_fpu.S
··· 12 12 * Copyright (C) 2000 MIPS Technologies, Inc. 13 13 * Copyright (C) 1999, 2001 Silicon Graphics, Inc. 14 14 */ 15 + #include <linux/export.h> 15 16 #include <asm/asm.h> 16 17 #include <asm/asmmacro.h> 17 18 #include <asm/errno.h> 18 - #include <asm/export.h> 19 19 #include <asm/fpregdef.h> 20 20 #include <asm/mipsregs.h> 21 21 #include <asm/asm-offsets.h>
+1 -1
arch/mips/lib/csum_partial.S
··· 11 11 * Copyright (C) 2014 Imagination Technologies Ltd. 12 12 */ 13 13 #include <linux/errno.h> 14 + #include <linux/export.h> 14 15 #include <asm/asm.h> 15 16 #include <asm/asm-offsets.h> 16 - #include <asm/export.h> 17 17 #include <asm/regdef.h> 18 18 19 19 #ifdef CONFIG_64BIT
+1 -1
arch/mips/lib/memcpy.S
··· 32 32 #undef CONFIG_CPU_HAS_PREFETCH 33 33 #endif 34 34 35 + #include <linux/export.h> 35 36 #include <asm/asm.h> 36 37 #include <asm/asm-offsets.h> 37 - #include <asm/export.h> 38 38 #include <asm/regdef.h> 39 39 40 40 #define dst a0
+1 -1
arch/mips/lib/memset.S
··· 8 8 * Copyright (C) 2007 by Maciej W. Rozycki 9 9 * Copyright (C) 2011, 2012 MIPS Technologies, Inc. 10 10 */ 11 + #include <linux/export.h> 11 12 #include <asm/asm.h> 12 13 #include <asm/asm-offsets.h> 13 - #include <asm/export.h> 14 14 #include <asm/regdef.h> 15 15 16 16 #if LONGSIZE == 4
+1 -1
arch/mips/lib/strncpy_user.S
··· 7 7 * Copyright (C) 2011 MIPS Technologies, Inc. 8 8 */ 9 9 #include <linux/errno.h> 10 + #include <linux/export.h> 10 11 #include <asm/asm.h> 11 12 #include <asm/asm-offsets.h> 12 - #include <asm/export.h> 13 13 #include <asm/regdef.h> 14 14 15 15 #define EX(insn,reg,addr,handler) \
+1 -1
arch/mips/lib/strnlen_user.S
··· 6 6 * Copyright (c) 1996, 1998, 1999, 2004 by Ralf Baechle 7 7 * Copyright (c) 1999 Silicon Graphics, Inc. 8 8 */ 9 + #include <linux/export.h> 9 10 #include <asm/asm.h> 10 11 #include <asm/asm-offsets.h> 11 - #include <asm/export.h> 12 12 #include <asm/regdef.h> 13 13 14 14 #define EX(insn,reg,addr,handler) \
+1 -1
arch/mips/mm/page-funcs.S
··· 8 8 * Copyright (C) 2012 MIPS Technologies, Inc. 9 9 * Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org> 10 10 */ 11 + #include <linux/export.h> 11 12 #include <asm/asm.h> 12 - #include <asm/export.h> 13 13 #include <asm/regdef.h> 14 14 15 15 #ifdef CONFIG_SIBYTE_DMA_PAGEOPS
+1 -1
arch/mips/mm/tlb-funcs.S
··· 11 11 * Copyright (C) 2012 MIPS Technologies, Inc. 12 12 * Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org> 13 13 */ 14 + #include <linux/export.h> 14 15 #include <asm/asm.h> 15 - #include <asm/export.h> 16 16 #include <asm/regdef.h> 17 17 18 18 #define FASTPATH_SIZE 128