x86: make setup.c build again
PATCH 1/1 x86: make setup.c build again
Add a <linux/acpi.h> include to setup.c to ensure it compiles without any config-dependent implicit includes of that header.
Signed-off-by Christoph Hellwig <[email protected]>
--- arch/x86/kernel/setup.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/setup.c +1 -0
@@ -22,6 +22,7 @@#include <linux/usb/xhci-dbgp.h> #include <linux/static_call.h> #include <linux/swiotlb.h> +#include <linux/acpi.h> #include <uapi/linux/mount.h>
Signature · 1 line
2.30.2
Borislav Petkov
maintainerQuoted 14 lines · Christoph Hellwig
Add a <
linux/acpi.h> include tosetup.cto ensure it compiles without any config-dependent implicit includes of that header.Signed-off-by Christoph Hellwig <[email protected]>--- arch/x86/kernel/setup.c | 1 + 1 file changed, 1 insertion(+)arch/x86/kernel/setup.c +0
-0
arch/x86/kernel/setup.c line 28
Quoted 7 lines
arch/x86/kernel/setup.c +1
-0@@ -22,6 +22,7 @@#include <linux/usb/xhci-dbgp.h> #include <linux/static_call.h> #include <linux/swiotlb.h> +#include <linux/acpi.h> #include <uapi/linux/mount.h>
There's an identical fix
https://lkml.kernel.org/r/[email protected]
which explains why it happens but I'm fine with whichever one Linus picks up.
Thx.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 6 lines · Borislav Petkov
There's an identical fix
https://lkml.kernel.org/r/[email protected]
which explains why it happens but I'm fine with whichever one Linus picks up.
Yeahm the changelog from Nathan looks better. I'm fine as long as we get this fixed ASAP.