[PATCH][VIVID] UBUNTU: SAUCE: drivers/rtc/interface.c: ignore exprired times when enqueing new timers (LP: #1333569)

Colin King colin.king at canonical.com
Tue Jan 6 12:48:56 UTC 2015


From: Colin Ian King <colin.king at canonical.com>

This patch fixes a RTC wakealarm issue, namely, the event fires during hibernate
and is not cleared from the list, causing hwlock to block.  The original fix has
been sent to LKML twice [1] but has had no response and not yet been picked up.
Rather than wait for ever for the maintainter to pick it up, I'm sending it as
a fix for Vivid.

[1] https://lkml.org/lkml/2014/9/26/70

Note that the skipped expired timer events get reaped later on, so we don't
bother reaping them in this fix, instead ignoring them is the best strategy.

Colin Ian King (1):
  drivers/rtc/interface.c: ignore exprired times when enqueing new
    timers (LP: #1333569)

 drivers/rtc/interface.c | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

-- 
2.1.4





More information about the kernel-team mailing list