]> git.baikalelectronics.ru Git - kernel.git/commitdiff
x86/cyrix: include header linux/isa-dma.h
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 25 Jul 2022 20:22:24 +0000 (13:22 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 26 Jul 2022 19:03:12 +0000 (14:03 -0500)
x86/kernel/cpu/cyrix.c now needs to include <linux/isa-dma.h> since the
'isa_dma_bridge_buggy' variable was moved to it.

Fixes this build error:

  ../arch/x86/kernel/cpu/cyrix.c: In function ‘init_cyrix’:
  ../arch/x86/kernel/cpu/cyrix.c:277:17: error: ‘isa_dma_bridge_buggy’ undeclared (first use in this function)
    277 |                 isa_dma_bridge_buggy = 2;

Fixes: 3ab0c04f39d8 ("PCI: Move isa_dma_bridge_buggy out of asm/dma.h")
Link: https://lore.kernel.org/r/20220725202224.29269-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Stafford Horne <shorne@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: x86@kernel.org
arch/x86/kernel/cpu/cyrix.c

index 7227c15299d0b8a50ce44459e7b5d8889704db5e..9651275aecd1bb7a01ede83060b4e1a2f5309ed3 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <linux/bitops.h>
 #include <linux/delay.h>
+#include <linux/isa-dma.h>
 #include <linux/pci.h>
 #include <asm/dma.h>
 #include <linux/io.h>