powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE
Michael Ellerman
mpe at ellerman.id.au
Sun Jul 17 20:28:22 AEST 2016
On Tue, 2016-28-06 at 05:02:46 UTC, Michael Ellerman wrote:
> 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 at ellerman.id.au>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/236977609a81150c4561c33fa6
cheers
More information about the Linuxppc-dev
mailing list