Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cca5613f authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Remove VMALLOC_VMADDR



Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 22607a28
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -85,7 +85,6 @@ static inline pte_t pte_mkspecial(pte_t pte) { return pte; }
#define VMALLOC_START	(CONFIG_KERNEL_START + \
				max(32 * 1024 * 1024UL, memory_size))
#define VMALLOC_END	ioremap_bot
#define VMALLOC_VMADDR(x) ((unsigned long)(x))

#endif /* __ASSEMBLY__ */

+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ static void __iomem *__ioremap(phys_addr_t addr, unsigned long size,
		area = get_vm_area(size, VM_IOREMAP);
		if (area == NULL)
			return NULL;
		v = VMALLOC_VMADDR(area->addr);
		v = (unsigned long) area->addr;
	} else {
		v = (ioremap_bot -= size);
	}