aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/marker.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-07-29 22:33:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 09:41:45 -0700
commitb68bb2632453a9ca7d10a00d79adf60968cb4c05 (patch)
tree3093bd33da75ce165d0f9b0af8931d7eb4d4488a /kernel/marker.c
parentdrivers/video: release mutex in error handling code (diff)
downloadlinux-dev-b68bb2632453a9ca7d10a00d79adf60968cb4c05.tar.xz
linux-dev-b68bb2632453a9ca7d10a00d79adf60968cb4c05.zip
rtc: don't return -EBUSY when mutex_lock_interruptible() fails
It was pointed out that the RTC framework handles its mutex locks oddly ... returning -EBUSY when interrupted. This fixes that by returning the value of mutex_lock_interruptible() (i.e. -EINTR). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/marker.c')
0 files changed, 0 insertions, 0 deletions