Re: [PATCH 1/5] numa: avoid export acpi_numa variable

2013-02-04 Thread li guang
在 2013-02-04一的 11:31 -0800,David Rientjes写道: > On Mon, 4 Feb 2013, liguang wrote: > > > diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h > > index 0c44630..c4e0875 100644 > > --- a/arch/x86/include/asm/acpi.h > > +++ b/arch/x86/include/asm/acpi.h > > @@ -181,7 +181,8 @@ stati

Re: [PATCH 1/5] numa: avoid export acpi_numa variable

2013-02-04 Thread David Rientjes
On Mon, 4 Feb 2013, liguang wrote: > diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h > index 0c44630..c4e0875 100644 > --- a/arch/x86/include/asm/acpi.h > +++ b/arch/x86/include/asm/acpi.h > @@ -181,7 +181,8 @@ static inline void disable_acpi(void) { } > #define ARCH_HAS_PO

[PATCH 1/5] numa: avoid export acpi_numa variable

2013-02-04 Thread liguang
acpi_numa is used to prevent srat table being parsed, seems a little miss-named, if 'noacpi' was specified by cmdline and CONFIG_ACPI_NUMA was enabled, acpi_numa will be operated directly from everywhere it needed to disable/enable numa in acpi mode which was a bad thing, so, try to export a fuctio