summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/signal.h
diff options
context:
space:
mode:
authorTony Battersby <tonyb@cybernetics.com>2009-03-31 15:24:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 08:59:19 -0700
commite057e15ff66a620eda4c407486cbb8f8fbb7d878 (patch)
treeaa9e15c13ce5882ca0f0b442eec71d99fec8a4ff /include/asm-m32r/signal.h
parentd1bc90dd5d037079f96b3327f943eb6ae8ef7491 (diff)
downloadlinux-stable-e057e15ff66a620eda4c407486cbb8f8fbb7d878.tar.gz
linux-stable-e057e15ff66a620eda4c407486cbb8f8fbb7d878.tar.bz2
linux-stable-e057e15ff66a620eda4c407486cbb8f8fbb7d878.zip
epoll: clean up ep_modify
ep_modify() doesn't need to set event.data from within the ep->lock spinlock as the comment suggests. The only place event.data is used is ep_send_events_proc(), and this is protected by ep->mtx instead of ep->lock. Also update the comment for mutex_lock() at the top of ep_scan_ready_list(), which mentions epoll_ctl(EPOLL_CTL_DEL) but not epoll_ctl(EPOLL_CTL_MOD). ep_modify() can also use spin_lock_irq() instead of spin_lock_irqsave(). Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Acked-by: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m32r/signal.h')
0 files changed, 0 insertions, 0 deletions