summaryrefslogtreecommitdiff
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2022-10-01 19:16:16 -0700
committerDan Williams <dan.j.williams@intel.com>2022-10-01 19:16:16 -0700
commit305a72efa791c826fe84768ca55e31adc4113ea8 (patch)
tree35c72646ea4b81528d73d3d79650004abed3285b /include/linux/memory_hotplug.h
parent53fc59511fc4c567342b2ef3f7b99a086430e0b4 (diff)
parent6a02124c87f0b61dcaaeb65e7fd406d8afb40fd4 (diff)
Merge branch 'for-6.1/nvdimm' into libnvdimm-for-next
Add v6.1 content on top of some straggling updates that missed v6.0.
Diffstat (limited to 'include/linux/memory_hotplug.h')
-rw-r--r--include/linux/memory_hotplug.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index 20d7edf62a6a..e0b2209ab71c 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -351,13 +351,4 @@ void arch_remove_linear_mapping(u64 start, u64 size);
extern bool mhp_supports_memmap_on_memory(unsigned long size);
#endif /* CONFIG_MEMORY_HOTPLUG */
-#ifdef CONFIG_MHP_MEMMAP_ON_MEMORY
-bool mhp_memmap_on_memory(void);
-#else
-static inline bool mhp_memmap_on_memory(void)
-{
- return false;
-}
-#endif
-
#endif /* __LINUX_MEMORY_HOTPLUG_H */