[PATCH] arm64: tools: Add __ASM_CPUCAPS_H to the endif in cpucaps.h

Mark Brown broonie at kernel.org
Thu May 13 08:18:19 PDT 2021


Anshuman suggested this.

Suggested-by: Anshuman Khandual <anshuman.khandual at arm.com>
Signed-off-by: Mark Brown <broonie at kernel.org>
---
 arch/arm64/tools/gen-cpucaps.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/tools/gen-cpucaps.awk b/arch/arm64/tools/gen-cpucaps.awk
index 18737a1ce044..00c9e72a200a 100755
--- a/arch/arm64/tools/gen-cpucaps.awk
+++ b/arch/arm64/tools/gen-cpucaps.awk
@@ -31,7 +31,7 @@ BEGIN {
 END {
 	printf("#define ARM64_NCAPS\t\t\t\t%d\n", cap_num)
 	print ""
-	print "#endif"
+	print "#endif /* __ASM_CPUCAPS_H */"
 }
 
 # Any lines not handled by previous rules are unexpected
-- 
2.20.1




More information about the linux-arm-kernel mailing list