[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230312052624.8402-1-rdunlap@infradead.org>
Date: Sat, 11 Mar 2023 21:26:24 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Damien Le Moal <damien.lemoal@...nsource.wdc.com>,
linux-ide@...r.kernel.org, linux-um@...ts.infradead.org
Subject: [PATCH] ata: pata_cs5536: don't build on UML
Similar to 22eebaa631c4 ("ata: pata_cs5535: Don't build on UML"),
prevent pata_cs5536 from building on UML since it references
symbols that are not present when building X86_32/i386 allmodconfig.
ERROR: modpost: "__tracepoint_write_msr" [drivers/ata/pata_cs5536.ko] undefined!
ERROR: modpost: "do_trace_write_msr" [drivers/ata/pata_cs5536.ko] undefined!
ERROR: modpost: "__tracepoint_read_msr" [drivers/ata/pata_cs5536.ko] undefined!
ERROR: modpost: "do_trace_read_msr" [drivers/ata/pata_cs5536.ko] undefined!
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Damien Le Moal <damien.lemoal@...nsource.wdc.com>
Cc: linux-ide@...r.kernel.org
Cc: linux-um@...ts.infradead.org
---
drivers/ata/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff -- a/drivers/ata/Kconfig b/drivers/ata/Kconfig
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -650,6 +650,7 @@ config PATA_CS5535
config PATA_CS5536
tristate "CS5536 PATA support"
depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
+ depends on !UML
help
This option enables support for the AMD CS5536
companion chip used with the Geode LX processor family.
Powered by blists - more mailing lists