[PATCH v4] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build dependencies for XEN

Will Deacon will.deacon at arm.com
Tue Jan 21 13:07:50 EST 2014


On Tue, Jan 21, 2014 at 01:44:24PM +0000, Stefano Stabellini wrote:
> Remove !GENERIC_ATOMIC64 build dependency:
> - introduce xen_atomic64_xchg
> - use it to implement xchg_xen_ulong
> 
> 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 at eu.citrix.com>
> CC: arnd at arndb.de
> CC: linux at arm.linux.org.uk
> CC: will.deacon at arm.com
> CC: catalin.marinas at arm.com
> CC: linux-arm-kernel at lists.infradead.org
> CC: linux-kernel at vger.kernel.org
> CC: xen-devel at lists.xenproject.org

  Reviewed-by: Will Deacon <will.deacon at arm.com>

Cheers Stefano,

Will



More information about the linux-arm-kernel mailing list