diff options
author | Masahiro Yamada <[email protected]> | 2021-03-12 21:07:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-03-13 11:27:30 -0800 |
commit | ea29b20a828511de3348334e529a3d046a180416 (patch) | |
tree | 827b06bcd1a493e603d92961a3e9d31947e9425c /lib/mpi/mpiutil.c | |
parent | cbf78d85079cee662c45749ef4f744d41be85d48 (diff) |
init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
I read the commit log of the following two:
- bc083a64b6c0 ("init/Kconfig: make COMPILE_TEST depend on !UML")
- 334ef6ed06fa ("init/Kconfig: make COMPILE_TEST depend on !S390")
Both are talking about HAS_IOMEM dependency missing in many drivers.
So, 'depends on HAS_IOMEM' seems the direct, sensible solution to me.
This does not change the behavior of UML. UML still cannot enable
COMPILE_TEST because it does not provide HAS_IOMEM.
The current dependency for S390 is too strong. Under the condition of
CONFIG_PCI=y, S390 provides HAS_IOMEM, hence can enable COMPILE_TEST.
I also removed the meaningless 'default n'.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: KP Singh <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Terrell <[email protected]>
Cc: Quentin Perret <[email protected]>
Cc: Valentin Schneider <[email protected]>
Cc: "Enrico Weigelt, metux IT consult" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions