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

Commit af141531 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Flag __ioremap_caller() __init_refok.



The mem_init_done test makes sure that this path is only entered in
__init cases, so leaving ioremap_fixed() as __init and flagging the
caller __init_refok is sufficient.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 12b6b01c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -33,7 +33,8 @@
 * have to convert them into an offset in a page-aligned mapping, but the
 * caller shouldn't need to know that small detail.
 */
void __iomem *__ioremap_caller(unsigned long phys_addr, unsigned long size,
void __iomem * __init_refok
__ioremap_caller(unsigned long phys_addr, unsigned long size,
		 unsigned long flags, void *caller)
{
	struct vm_struct *area;