summaryrefslogtreecommitdiff
path: root/drivers/char/hangcheck-timer.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2015-02-19 17:25:49 +0300
committerCorey Minyard <cminyard@mvista.com>2015-02-20 05:58:42 +0300
commit1d86e29b4a612eb01c39daa48749ab7964e77e03 (patch)
tree8fc87a38ad0b05994db7eefcb58ea4ac085deb25 /drivers/char/hangcheck-timer.c
parentd6c5dc18d863338528f4e89e8dba9449c6e30f4e (diff)
downloadlinux-1d86e29b4a612eb01c39daa48749ab7964e77e03.tar.xz
ipmi: Fix a memory ordering issue
From a locking point of view it is safe to check waiting_msg without a lock, but there is a memory ordering issue that causes it to possibly not be set right when viewed from another processor. We are already claiming a lock right after that, move the check to inside the lock to enforce the memory ordering. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/hangcheck-timer.c')
0 files changed, 0 insertions, 0 deletions