summaryrefslogtreecommitdiff
path: root/drivers/acpi/apei
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2017-09-25 02:06:19 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-25 14:26:13 +0100
commit2cb7165b4dcf80b03d7cc86fedd1a65a455823b3 (patch)
tree95c587659058b06b59766adb8c557515ebd257f5 /drivers/acpi/apei
parent5d5e60c80fd8613b8a76876b3ffd357f7a0bf7e7 (diff)
downloadlinux-rt-2cb7165b4dcf80b03d7cc86fedd1a65a455823b3.tar.gz
ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq()
commit 095f613c6b386a1704b73a549e9ba66c1d5381ae upstream. Match up with what 7edda0886b ("acpi: apei: handle SEA notification type for ARMv8") did for ghes_ioremap_pfn_nmi(). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/apei')
-rw-r--r--drivers/acpi/apei/ghes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index 3c3a37b8503b..69ef0b6bf25d 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -174,7 +174,8 @@ static void __iomem *ghes_ioremap_pfn_nmi(u64 pfn)
static void __iomem *ghes_ioremap_pfn_irq(u64 pfn)
{
- unsigned long vaddr, paddr;
+ unsigned long vaddr;
+ phys_addr_t paddr;
pgprot_t prot;
vaddr = (unsigned long)GHES_IOREMAP_IRQ_PAGE(ghes_ioremap_area->addr);