summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-09-24 11:17:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-24 11:17:32 -0700
commitea1f9163ac83fa537f58e00a81028844702279e4 (patch)
treee2c969f01e37203f0cbe27e18cf6527a73fab86f /include
parent1b7eaf570140281a1aa898a875aa587d48d96958 (diff)
parent12064c1768439fa0882547010afae6b52aafa7af (diff)
Merge tag 'acpi-5.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI fix from Rafael Wysocki: "Revert a recent commit related to memory management that turned out to be problematic (Jia He)" * tag 'acpi-5.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: Revert "ACPI: Add memory semantics to acpi_os_map_memory()"
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_io.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/acpi/acpi_io.h b/include/acpi/acpi_io.h
index a0212e67d6f4..027faa8883aa 100644
--- a/include/acpi/acpi_io.h
+++ b/include/acpi/acpi_io.h
@@ -14,14 +14,6 @@ static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
}
#endif
-#ifndef acpi_os_memmap
-static inline void __iomem *acpi_os_memmap(acpi_physical_address phys,
- acpi_size size)
-{
- return ioremap_cache(phys, size);
-}
-#endif
-
extern bool acpi_permanent_mmap;
void __iomem __ref