From: Erik Gilling Date: Fri, 1 Mar 2013 00:43:18 +0000 (-0800) Subject: staging: sync: Protect unlocked access to fence status X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~818 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c679212dbfd060513e156133326122bf9f496579;p=pandora-kernel.git staging: sync: Protect unlocked access to fence status Fence status is checked outside of locks in both sync_fence_wait and sync_fence_poll. This patch adds propper barrier protection in these cases to avoid seeing stale status. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: dri-devel@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed