[PATCH 8/9] x86: page_32.h: adjust comment for endif of CONFIG_X86_USE_3DNOW

Lukas Bulwahn
2021-08-03T11:36:53Z

Commit 345b904c3f7c ("x86: page.h: unify page copying and clearing") adds
an ifdef CONFIG_X86_USE_3DNOW, and a comment on the corresponding endif.
However, it refers slightly mismatching to CONFIG_X86_3DNOW instead.

Hence, ./scripts/checkkconfigsymbols.py warns:

X86_3DNOW
Referencing files: arch/x86/include/asm/page_32.h

Adjust the comment on endif to the actual ifdef condition.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
arch/x86/include/asm/page_32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/page_32.h b/arch/x86/include/asm/page_32.h
index 94dbd51df58f..b13f8488ac85 100644
--- a/arch/x86/include/asm/page_32.h
+++ b/arch/x86/include/asm/page_32.h
@@ -43,7 +43,7 @@ static inline void copy_page(void *to, void *from)
{
memcpy(to, from, PAGE_SIZE);
}
-#endif /* CONFIG_X86_3DNOW */
+#endif /* CONFIG_X86_USE_3DNOW */
#endif /* !__ASSEMBLY__ */

#endif /* _ASM_X86_PAGE_32_H */
--
2.17.1