diff options
author | Tomasz Nowicki <tomasz.nowicki@linaro.org> | 2014-07-22 11:20:13 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2014-07-23 00:05:06 +0200 |
commit | 594c7255dce7a13cac50cf2470cc56e2c3b0494e (patch) | |
tree | 057da64928a17b6e13e923ec2baad9181886c704 /drivers/acpi/acpica/uttrack.c | |
parent | acpi, apei, ghes: Make NMI error notification to be GHES architecture extension. (diff) | |
download | linux-594c7255dce7a13cac50cf2470cc56e2c3b0494e.tar.xz linux-594c7255dce7a13cac50cf2470cc56e2c3b0494e.zip |
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 <tomasz.nowicki@linaro.org>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/uttrack.c')
0 files changed, 0 insertions, 0 deletions