From: Robin Murphy Date: Mon, 7 Oct 2013 17:30:34 +0000 (+0100) Subject: arm64: update 32-bit kuser helpers to ARMv8 X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~54^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0f38f9130b7683e39611c5a661349e301ee43c8;p=pandora-kernel.git arm64: update 32-bit kuser helpers to ARMv8 This patch updates the barrier semantics in the kuser helper functions to take advantage of the ARMv8 additions to AArch32, which are guaranteed to be available in situations where these functions will be called. Note that this slightly changes the cmpxchg functions in that they are no longer necessarily full barriers if they return 1. However, the documentation only states they include their own barriers "as needed", not that they are obligated to act as a full barrier for the caller. Signed-off-by: Robin Murphy Acked-by: Will Deacon CC: Matthew Leach CC: Dave Martin CC: Mark Rutland Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed