Re: [PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 11:07 AM, Tejun Heo wrote: >> >> Also move down two functions declaration to avoid #ifdef in setup.c >> >> ACPI_INITRD_TABLE_OVERRIDE depends one ACPI and BLK_DEV_INITRD. >> So could move declaration out from #ifdef CONFIG_ACPI protection. > > Heh, I couldn't really follow

Re: [PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:32PM -0800, Yinghai Lu wrote: > To parse srat early, we need to move acpi table probing early. > acpi_initrd_table_override is before acpi table probing. So we need to > move it early too. > > Current code acpi_initrd_table_override is after init_mem_mapping and >

Re: [PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:32PM -0800, Yinghai Lu wrote: To parse srat early, we need to move acpi table probing early. acpi_initrd_table_override is before acpi table probing. So we need to move it early too. Current code acpi_initrd_table_override is after init_mem_mapping and

Re: [PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 11:07 AM, Tejun Heo t...@kernel.org wrote: Also move down two functions declaration to avoid #ifdef in setup.c ACPI_INITRD_TABLE_OVERRIDE depends one ACPI and BLK_DEV_INITRD. So could move declaration out from #ifdef CONFIG_ACPI protection. Heh, I couldn't really

[PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-03-09 Thread Yinghai Lu
To parse srat early, we need to move acpi table probing early. acpi_initrd_table_override is before acpi table probing. So we need to move it early too. Current code acpi_initrd_table_override is after init_mem_mapping and relocate_initrd(), so it can scan initrd and copy acpi tables with kernel

[PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-03-09 Thread Yinghai Lu
To parse srat early, we need to move acpi table probing early. acpi_initrd_table_override is before acpi table probing. So we need to move it early too. Current code acpi_initrd_table_override is after init_mem_mapping and relocate_initrd(), so it can scan initrd and copy acpi tables with kernel