IDLETIMER: We shouldn't sleep in the timer routine
authorSamuel Ortiz <samuel.ortiz@solidboot.com>
Thu, 13 Jul 2006 12:24:25 +0000 (15:24 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Fri, 14 Jul 2006 12:21:26 +0000 (15:21 +0300)
Currently, IDLETIMER timer routine calls kobject_uevent, which might sleep.
Since we are in interrupt context, we now schedule a work when the timer
expires. This calls sysfs_notify() for notifying userspace.

Signed-off-by: Samuel Ortiz <samuel.ortiz@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>

No differences found