mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
memremap: remove to_vmem_altmap
All callers are gone now. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
832d7aa051
commit
0628b8c650
2 changed files with 0 additions and 35 deletions
|
@ -26,15 +26,6 @@ struct vmem_altmap {
|
|||
unsigned long alloc;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ZONE_DEVICE
|
||||
struct vmem_altmap *to_vmem_altmap(unsigned long memmap_start);
|
||||
#else
|
||||
static inline struct vmem_altmap *to_vmem_altmap(unsigned long memmap_start)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Specialize ZONE_DEVICE memory into multiple types each having differents
|
||||
* usage.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue