From: Tomasz Nowicki Date: Tue, 22 Jul 2014 09:20:13 +0000 (+0200) Subject: acpi, apei, ghes: Factor out ioremap virtual memory for IRQ and NMI context. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~171^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594c7255dce7a13cac50cf2470cc56e2c3b0494e;p=pandora-kernel.git acpi, apei, ghes: Factor out ioremap virtual memory for IRQ and NMI context. GHES currently maps two pages with atomic_ioremap. From now on, NMI is architectural depended so there is no need to allocate an NMI page for platforms without NMI support. To make it possible to not use a second page, swap the existing page order so that the IRQ context page is first, and the optional NMI context page is second. Then, use HAVE_ACPI_APEI_NMI to decide how many pages are to be allocated. Signed-off-by: Tomasz Nowicki Acked-by: Borislav Petkov Signed-off-by: Tony Luck --- Reading git-diff-tree failed