summaryrefslogtreecommitdiffstats
path: root/kernel/power/user.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-03-27 09:08:26 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-27 09:08:08 -0700
commitc7f6d15ff2664467a2cb669abcabb5ffaf719b2d (patch)
tree6e397d5bb2afcc747d85e9c2aedcb8a6cdf08394 /kernel/power/user.c
parente0ab0bb6d2b77917f4c31f157b2690602a5608f9 (diff)
downloadop-kernel-dev-c7f6d15ff2664467a2cb669abcabb5ffaf719b2d.zip
op-kernel-dev-c7f6d15ff2664467a2cb669abcabb5ffaf719b2d.tar.gz
[PATCH] i386: Fix bogus return value in hpet_next_event()
The clockevents / tick management code expects an error value, when the event is already expired. hpet_next_event() returns 1 in that case. Fix it to return the proper -ETIME error code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power/user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud