aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2011-09-05 07:58:29 +0000
committerRussell King <[email protected]>2011-09-05 07:58:29 +0000
commit1df726ef0a700587a712a3660b2caa8e533c7de9 (patch)
tree02086e08de0cb385a332833bdc14b7c12c92b50a /lib/debugobjects.c
parentARM: 7067/1: mm: keep significant bits in pfn_valid (diff)
downloadkernel-1df726ef0a700587a712a3660b2caa8e533c7de9.tar.gz
kernel-1df726ef0a700587a712a3660b2caa8e533c7de9.zip
NET: am79c961: fix race in link status code
The link status code operates from a timer, and writes the index register without first taking a lock. A well-placed interrupt between writing the index register and reading the data register could change the index register on us, which will return wrong data. Add the necessary lock. Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions