microblaze: Remove VMALLOC_VMADDR
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
22607a2821
commit
cca5613f02
|
@ -85,7 +85,6 @@ static inline pte_t pte_mkspecial(pte_t pte) { return pte; }
|
||||||
#define VMALLOC_START (CONFIG_KERNEL_START + \
|
#define VMALLOC_START (CONFIG_KERNEL_START + \
|
||||||
max(32 * 1024 * 1024UL, memory_size))
|
max(32 * 1024 * 1024UL, memory_size))
|
||||||
#define VMALLOC_END ioremap_bot
|
#define VMALLOC_END ioremap_bot
|
||||||
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
|
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ static void __iomem *__ioremap(phys_addr_t addr, unsigned long size,
|
||||||
area = get_vm_area(size, VM_IOREMAP);
|
area = get_vm_area(size, VM_IOREMAP);
|
||||||
if (area == NULL)
|
if (area == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
v = VMALLOC_VMADDR(area->addr);
|
v = (unsigned long) area->addr;
|
||||||
} else {
|
} else {
|
||||||
v = (ioremap_bot -= size);
|
v = (ioremap_bot -= size);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue