From: Tim Gardner Date: Wed, 20 Apr 2011 09:00:49 +0000 (+0000) Subject: atl1c: Fix work event interrupt/task races X-Git-Tag: v2.6.39-rc6~7^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb771838715b1c470bc5735bdae709b33b18e0ad;p=pandora-kernel.git atl1c: Fix work event interrupt/task races The mechanism used to initiate work events from the interrupt handler has a classic read/modify/write race between the interrupt handler that sets the condition, and the worker task that reads and clears the condition. Close these races by using atomic bit fields. Cc: stable@kernel.org Cc: Jie Yang Signed-off-by: Tim Gardner Signed-off-by: David S. Miller --- Reading git-diff-tree failed