projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e96ad
)
ACPI: consistently use should_use_kmap()
author
Jan Beulich
<JBeulich@suse.com>
Fri, 24 Feb 2012 11:41:53 +0000
(11:41 +0000)
committer
Len Brown
<len.brown@intel.com>
Fri, 30 Mar 2012 07:51:57 +0000
(
03:51
-0400)
... so that acpi_unmap()'s behavior gets in sync with acpi_map()'s.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/osl.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/osl.c
b/drivers/acpi/osl.c
index 412a1e04a9226a84970654c433597455cb53f0ca..5aef087d42d0d9f37755655fcb1b4862ff12c332 100644
(file)
--- a/
drivers/acpi/osl.c
+++ b/
drivers/acpi/osl.c
@@
-347,7
+347,7
@@
static void acpi_unmap(acpi_physical_address pg_off, void __iomem *vaddr)
unsigned long pfn;
pfn = pg_off >> PAGE_SHIFT;
- if (
page_is_ram
(pfn))
+ if (
should_use_kmap
(pfn))
kunmap(pfn_to_page(pfn));
else
iounmap(vaddr);