[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150323150942.GF31992@pd.tnic>
Date: Mon, 23 Mar 2015 16:09:42 +0100
From: Borislav Petkov <bp@...en8.de>
To: Ingo Molnar <mingo@...nel.org>
Cc: Jim Kukunas <james.t.kukunas@...ux.intel.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
tom.zanussi@...ux.intel.com,
Arjan van de Ven <arjan@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>, tglx@...utronix.de,
mingo@...hat.com, x86@...nel.org
Subject: Re: [PATCH 11/11] x86/xip: update _va() and _pa() macros
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists