On Thu, Jun 13, 2013 at 09:02:56PM +0800, Tang Chen wrote: > From: Yinghai Lu <yinghai@xxxxxxxxxx> Ditto for the opening. Probably not a must, I suppose, but would be very nice. > head64.c could use #PF handler setup page table to access initrd before > init mem mapping and initrd relocating. > > head_32.S could use 32bit flat mode to access initrd before init mem > mapping initrd relocating. > > This patch introduces x86_acpi_override_find(), which is called from > head_32.S/head64.c, to replace acpi_initrd_override_find(). So that we > can makes 32bit and 64 bit more consistent. > > -v2: use inline function in header file instead according to tj. > also still need to keep #idef head_32.S to avoid compiling error. > -v3: need to move down reserve_initrd() after acpi_initrd_override_copy(), > to make sure we are using right address. > > Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx> > Cc: Pekka Enberg <penberg@xxxxxxxxxx> > Cc: Jacob Shin <jacob.shin@xxxxxxx> > Cc: Rafael J. Wysocki <rjw@xxxxxxx> > Cc: linux-acpi@xxxxxxxxxxxxxxx > Tested-by: Thomas Renninger <trenn@xxxxxxx> > Reviewed-by: Tang Chen <tangchen@xxxxxxxxxxxxxx> > Tested-by: Tang Chen <tangchen@xxxxxxxxxxxxxx> Other than that, Acked-by: Tejun Heo <tj@xxxxxxxxxx> Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>