From: Mark Rutland Date: Tue, 15 Jan 2013 11:12:29 +0000 (+0000) Subject: arm64: arm_generic: prevent reading stale time X-Git-Tag: v3.9-rc1~115^2~8^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dac0dd71cdda2bd7395dd47a6b617ed296d4901;p=pandora-kernel.git arm64: arm_generic: prevent reading stale time Currently arch_counter_get_cnt{p,v}ct can be speculated, allowing for stale time values to be read. This could be problematic for the delay loop and other sensitive functions, as the time delta could jump around unexpectedly. This patch adds isbs to arch_counter_get_cnt{p,v}ct, preventing this possibility. Signed-off-by: Mark Rutland Acked-by: Catalin Marinas --- Reading git-diff-tree failed