[PATCH 1/2] riscv: remove unneeded #include <asm-generic/export.h>
Emil Renner Berthing
emil.renner.berthing at canonical.com
Tue Nov 28 04:19:25 PST 2023
Masahiro Yamada wrote:
> There is no EXPORT_SYMBOL() line there, hence
> "#include <asm-generic/export.h>" is unneeded.
>
> Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing at 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
More information about the linux-riscv
mailing list