From a4714a898e85205e1118ec923cde43d88eb105f6 Mon Sep 17 00:00:00 2001 From: Randy Wright Date: Wed, 4 Jun 2014 08:55:59 -0700 Subject: [PATCH] ACPI: Fix bug when ACPI reset register is implemented in system memory Use acpi_os_map_generic_address to pre-map the reset register if it is memory mapped, thereby preventing the BUG_ON() in line 1319 of mm/vmalloc.c from triggering during panic-triggered reboots. Link: https://bugzilla.kernel.org/show_bug.cgi?id=77131 Signed-off-by: Randy Wright Signed-off-by: David E. Box [rjw: Changelog, simplified code] Signed-off-by: Rafael J. Wysocki --- Reading git-format-patch failed