[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 07/25] xen/common/Makefile: introduce HAS_CPUFREQ, HAS_PCI, HAS_PASSTHROUGH, HAS_NS16550



>>> On 07.12.11 at 12:24, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
wrote:
> On Wed, 7 Dec 2011, Jan Beulich wrote:
>> >>> On 06.12.11 at 19:19, <stefano.stabellini@xxxxxxxxxxxxx> wrote:
>> > From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
>> > 
>> > - make the compilation of ns16550.c depend upon HAS_NS16550;
>> > 
>> > - make the compilation of cpufreq depend upon HAS_CPUFREQ;
>> > 
>> > - make the compilation of pci depend upon HAS_PCI;
>> > 
>> > - make the compilation of passthrough depend upon HAS_PASSTHROUGH;
>> > 
>> > - make the compilation of kexec.o depend on HAS_ACPI.
>> 
>> How are kexec and ACPI connected to one another?
> 
> Today kexec implementation is dependent on ACPI.

The only dependency I can spot is the call to acpi_dmar_reinstate(),
which could clearly get an inline stub on platforms that don't have
ACPI (or pass-through).

> Should I introduce a separate HAS_KEXEC config option, for the sake of
> clarity?

Yes, if you need it off for ARM.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.