Skip to content

Commit 94d8897

Browse files
author
Marc Zyngier
committed
arm64: sysreg: Drag linux/kconfig.h to work around vdso build issue
Broonie reports that fed55f4 ("arm64: errata: Work around AmpereOne's erratum AC04_CPU_23") breaks one of the vdso selftests (vdso_test_chacha) as it indirectly drags asm/sysreg.h. It is rather unfortunate (and worrying) that userspace gets built with non-UAPI headers. In any case, paper over the issue by dragging linux/kconfig.h in asm/sysreg.h. It is the right thing to do, at least from the kernel perspective. Reported-by: Mark Brown <[email protected]> Fixes: fed55f4 ("arm64: errata: Work around AmpereOne's erratum AC04_CPU_23") Link: https://lore.kernel.org/r/[email protected] Cc: D Scott Phillips <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Oliver Upton <[email protected]> Cc: Will Deacon <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
1 parent 1b85d92 commit 94d8897

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <linux/bits.h>
1313
#include <linux/stringify.h>
1414
#include <linux/kasan-tags.h>
15+
#include <linux/kconfig.h>
1516

1617
#include <asm/gpr-num.h>
1718

0 commit comments

Comments
 (0)