Re: [PATCH 11/11] x86/xip: update _va() and _pa() macros

From: Borislav Petkov
Date: Mon Mar 23 2015 - 11:11:33 EST


On Mon, Mar 23, 2015 at 09:09:56AM +0100, Ingo Molnar wrote:
> > @@ -37,8 +38,15 @@ static inline void copy_user_page(void *to, void *from, unsigned long vaddr,
> > alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
> > #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE
> >
> > +
> > +#ifdef CONFIG_XIP_KERNEL /* TODO special case text translations */
> > +#define __pa(x) slow_virt_to_phys((void *)(x))
> > +#define __pa_nodebug slow_virt_to_phys((void *)(x))

This macro looks like it is missing an arg too.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/