]> git.baikalelectronics.ru Git - kernel.git/commit
soc: a64fx-diag: disable modular build
authorArnd Bergmann <arnd@arndb.de>
Wed, 20 Jul 2022 15:58:18 +0000 (17:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 20 Jul 2022 15:58:18 +0000 (17:58 +0200)
commit8d6a8dc8559c2a256ad7b9078edf61082d2136cc
treef4b7abdd6476a8228691eb7c0a18e3a474dbb732
parentc71b31fe01a5c7df07f1d64e04696052f31ced5b
soc: a64fx-diag: disable modular build

The NMI infrastructure cannot currently be used in loadable modules:

ERROR: modpost: "free_nmi" [drivers/soc/fujitsu/a64fx-diag.ko] undefined!
ERROR: modpost: "request_nmi" [drivers/soc/fujitsu/a64fx-diag.ko] undefined!
ERROR: modpost: "enable_nmi" [drivers/soc/fujitsu/a64fx-diag.ko] undefined!

Disable this for now to make allmodconfig build again. We may revisit
this and export those symbols instead in the future.

Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/fujitsu/Kconfig