2020-08-27 14:56:07

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] nds32: Fix bogus reference to <asm/procinfo.h>

Andestech(nds32) never had <asm/procinfo.h>.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
arch/nds32/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
index a066efbe53c0c098..3671129e205852b7 100644
--- a/arch/nds32/kernel/setup.c
+++ b/arch/nds32/kernel/setup.c
@@ -52,7 +52,7 @@ EXPORT_SYMBOL(elf_hwcap);

/*
* The following string table, must sync with HWCAP_xx bitmask,
- * which is defined in <asm/procinfo.h>
+ * which is defined above
*/
static const char *hwcap_str[] = {
"mfusr_pc",
--
2.17.1


2020-08-28 10:10:32

by Greentime Hu

[permalink] [raw]
Subject: Re: [PATCH] nds32: Fix bogus reference to <asm/procinfo.h>

Geert Uytterhoeven <[email protected]> 於 2020年8月27日 週四 下午9:24寫道:
>
> Andestech(nds32) never had <asm/procinfo.h>.
>
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> arch/nds32/kernel/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
> index a066efbe53c0c098..3671129e205852b7 100644
> --- a/arch/nds32/kernel/setup.c
> +++ b/arch/nds32/kernel/setup.c
> @@ -52,7 +52,7 @@ EXPORT_SYMBOL(elf_hwcap);
>
> /*
> * The following string table, must sync with HWCAP_xx bitmask,
> - * which is defined in <asm/procinfo.h>
> + * which is defined above
> */
> static const char *hwcap_str[] = {
> "mfusr_pc",

Thank you, Geert.
Acked-by: Greentime Hu <[email protected]>
I'll put it in the next branch.