]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Jun 2016 05:02:46 +0000 (15:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 15 Jul 2016 05:02:26 +0000 (15:02 +1000)
commit70cbf814773dc6be65a83f0980aabdaa88ef8959
treebe982ca3235b37d840cbb4f21ca059cf08bac669
parent7bee93cd18cc95beb9d29e886658bde58608d1c0
powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE

The pseries HVC early debug options, CONFIG_PPC_EARLY_DEBUG_LPAR and
CONFIG_PPC_EARLY_DEBUG_LPAR_HVSI both require code that is part of the
hvc driver. If we turn them on but not CONFIG_HVC_CONSOLE then we get:

  arch/powerpc/kernel/built-in.o: In function `.udbg_early_init':
  arch/powerpc/kernel/built-in.o:(.debug_addr+0x9a00): undefined reference to `udbg_init_debug_lpar'

Similarly for HVSI. So make them both depend on CONFIG_HVC_CONSOLE.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig.debug