1

use linux/export.h rather than asm-generic/export.h

asm-generic/export.h is a wrapper for linux/export.h, with explicit request
to use linux/export.h directly.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20231214191922.GQ1674809@ZenIV
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Al Viro 2023-12-14 19:19:22 +00:00 committed by Palmer Dabbelt
parent 2bf8acbf54
commit 62694797f5
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889
5 changed files with 5 additions and 5 deletions

View File

@ -3,12 +3,12 @@
#include <linux/init.h>
#include <linux/linkage.h>
#include <linux/export.h>
#include <asm/asm.h>
#include <asm/csr.h>
#include <asm/unistd.h>
#include <asm/thread_info.h>
#include <asm/asm-offsets.h>
#include <asm-generic/export.h>
#include <asm/ftrace.h>
.text

View File

@ -4,12 +4,12 @@
#include <linux/init.h>
#include <linux/linkage.h>
#include <linux/cfi_types.h>
#include <linux/export.h>
#include <asm/asm.h>
#include <asm/csr.h>
#include <asm/unistd.h>
#include <asm/thread_info.h>
#include <asm/asm-offsets.h>
#include <asm-generic/export.h>
#include <asm/ftrace.h>
.text

View File

@ -4,9 +4,9 @@
*/
#include <linux/linkage.h>
#include <linux/export.h>
#include <asm/asm.h>
#include <asm/alternative-macros.h>
#include <asm-generic/export.h>
#include <asm/hwcap.h>
#include <asm/insn-def.h>
#include <asm/page.h>

View File

@ -4,7 +4,7 @@
*/
#include <linux/linkage.h>
#include <asm-generic/export.h>
#include <linux/export.h>
SYM_FUNC_START(__lshrti3)
beqz a2, .L1

View File

@ -1,5 +1,5 @@
#include <linux/linkage.h>
#include <asm-generic/export.h>
#include <linux/export.h>
#include <asm/asm.h>
#include <asm/asm-extable.h>
#include <asm/csr.h>