2023-11-26 15:12:37

by Masahiro Yamada

[permalink] [raw]
Subject: [PATCH] xtensa: replace <asm-generic/export.h> with <linux/export.h>

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

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

Signed-off-by: Masahiro Yamada <[email protected]>
---

arch/xtensa/include/asm/asmmacro.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/include/asm/asmmacro.h b/arch/xtensa/include/asm/asmmacro.h
index 01bf7d9dbb19..a52d49a16ce7 100644
--- a/arch/xtensa/include/asm/asmmacro.h
+++ b/arch/xtensa/include/asm/asmmacro.h
@@ -11,7 +11,7 @@
#ifndef _XTENSA_ASMMACRO_H
#define _XTENSA_ASMMACRO_H

-#include <asm-generic/export.h>
+#include <linux/export.h>
#include <asm/core.h>

/*
--
2.40.1


2023-11-29 09:59:38

by Max Filippov

[permalink] [raw]
Subject: Re: [PATCH] xtensa: replace <asm-generic/export.h> with <linux/export.h>

On Sun, Nov 26, 2023 at 7:12 AM Masahiro Yamada <[email protected]> wrote:
>
> Commit ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
> deprecated <asm-generic/export.h>, which is now a wrapper of
> <linux/export.h>.
>
> Replace #include <asm-generic/export.h> with #include <linux/export.h>.
>
> Signed-off-by: Masahiro Yamada <[email protected]>
> ---
>
> arch/xtensa/include/asm/asmmacro.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks. Applied to my xtensa tree.

--
Thanks.
-- Max