commit | cb771838715b1c470bc5735bdae709b33b18e0ad | [log] [tgz] |
---|---|---|
author | Tim Gardner <timg@tpi.com> | Wed Apr 20 09:00:49 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 21 21:04:32 2011 -0700 |
tree | 9de4b9a992aa2a521bfba73b941310dd8e09ea60 | |
parent | e74fbd030223e29d269f4be17e3dce6de38f4c28 [diff] |
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 <jie.yang@atheros.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>