From: Jin Dongming Date: Wed, 29 Sep 2010 11:53:52 +0000 (+0800) Subject: ACPI, APEI, Fix acpi_pre_map() return value X-Git-Tag: v2.6.36-rc7~25^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad97c37db9c1ee36de8ac58f9f73931d15a2e94;p=pandora-kernel.git ACPI, APEI, Fix acpi_pre_map() return value After we ioremap() a new region, we call __acpi_try_ioremap() to see whether another thread has already mapped the same region. This check clobbers "vaddr", so compute the return value of acpi_pre_map() using the ioremap() result "map->vaddr" instead. v2: Modified the unsuitable description of patch. v3: Removed unlikely() check and made description simpler. Signed-off-by: Jin Dongming Reviewed-by: Andi Kleen Signed-off-by: Huang Ying Signed-off-by: Len Brown --- Reading git-diff-tree failed