From: Will Deacon Date: Thu, 10 Jul 2014 11:40:09 +0000 (+0100) Subject: arm64: fpsimd: avoid restoring fpcr if the contents haven't changed X-Git-Tag: omap-for-v3.17/fixes-against-rc2~183^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5959e25729a521097856d71528504deda1e11584;p=pandora-kernel.git arm64: fpsimd: avoid restoring fpcr if the contents haven't changed Writing to the FPCR is commonly implemented as a self-synchronising operation in the CPU, so avoid writing to the register when the saved value matches that in the hardware already. Cc: Ard Biesheuvel Reviewed-by: Lorenzo Pieralisi Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed