Re: [PATCH v3 1/2] serial_core: add pci uart early console support

From: Paul Bolle
Date: Wed May 20 2015 - 05:16:33 EST


On Tue, 2015-05-19 at 10:32 -0700, Bin Gao wrote:
> On Tue, May 19, 2015 at 02:01:07PM +0200, Paul Bolle wrote:
> > Is this expected to be used outside of X86?
> Yes, drivers/tty/serial/serial_core.c is going to use it.

What I should have asked is: do you expect architectures other than X86
to set HAVE_EARLY_PCI? Because then you should put that Kconfig entry in
a file reachable by all architectures. Say, in init/Kconfig or in
drivers/tty/serial/Kconfig.

(You can also have an entry for HAVE_EARLY_PCI for each arch that needs
it, but that would be a bit silly.)

Thanks,


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/