Message ID | 20231126151739.1557369-1-masahiroy@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [1/2] riscv: remove unneeded #include <asm-generic/export.h> | expand |
Masahiro Yamada wrote: > There is no EXPORT_SYMBOL() line there, hence > "#include <asm-generic/export.h>" is unneeded. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Thanks! /Emil > --- > > arch/riscv/kernel/mcount-dyn.S | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/kernel/mcount-dyn.S b/arch/riscv/kernel/mcount-dyn.S > index 58dd96a2a153..952233aa273a 100644 > --- a/arch/riscv/kernel/mcount-dyn.S > +++ b/arch/riscv/kernel/mcount-dyn.S > @@ -8,7 +8,6 @@ > #include <asm/unistd.h> > #include <asm/thread_info.h> > #include <asm/asm-offsets.h> > -#include <asm-generic/export.h> > #include <asm/ftrace.h> > > .text > -- > 2.40.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv
diff --git a/arch/riscv/kernel/mcount-dyn.S b/arch/riscv/kernel/mcount-dyn.S index 58dd96a2a153..952233aa273a 100644 --- a/arch/riscv/kernel/mcount-dyn.S +++ b/arch/riscv/kernel/mcount-dyn.S @@ -8,7 +8,6 @@ #include <asm/unistd.h> #include <asm/thread_info.h> #include <asm/asm-offsets.h> -#include <asm-generic/export.h> #include <asm/ftrace.h> .text
There is no EXPORT_SYMBOL() line there, hence "#include <asm-generic/export.h>" is unneeded. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- arch/riscv/kernel/mcount-dyn.S | 1 - 1 file changed, 1 deletion(-)