[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140109103004.GB11089@mudshark.cambridge.arm.com>
Date: Thu, 9 Jan 2014 10:30:05 +0000
From: Will Deacon <will.deacon@....com>
To: Stefano Stabellini <stefano.stabellini@...citrix.com>
Cc: "linux@....linux.org.uk" <linux@....linux.org.uk>,
"arnd@...db.de" <arnd@...db.de>,
"gang.chen@...anux.com" <gang.chen@...anux.com>,
Catalin Marinas <Catalin.Marinas@....com>,
"jaccon.bastiaansen@...il.com" <jaccon.bastiaansen@...il.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build
dependencies for XEN
Hi Stefano,
On Wed, Jan 08, 2014 at 06:00:23PM +0000, Stefano Stabellini wrote:
> Remove !GENERIC_ATOMIC64 build dependency:
> - rename atomic64_xchg to armv7_atomic64_xchg and define it even ifdef
> GENERIC_ATOMIC64;
> - call armv7_atomic64_xchg directly from xen/events.h.
>
> Remove !CPU_V6 build dependency:
> - introduce __cmpxchg8 and __cmpxchg16, compiled even ifdef
> CONFIG_CPU_V6;
> - implement sync_cmpxchg using __cmpxchg8 and __cmpxchg16.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@...citrix.com>
> CC: arnd@...db.de
> CC: linux@....linux.org.uk
> CC: will.deacon@....com
> CC: gang.chen@...anux.com
> CC: catalin.marinas@....com
> CC: jaccon.bastiaansen@...il.com
> CC: linux-arm-kernel@...ts.infradead.org
> CC: linux-kernel@...r.kernel.org
>
I'm confused here. It looks like you want to call armv7 code in a v6 kernel.
What am I missing?
Will
--
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