From: Arjan van de Ven This patch introduces users of the round_jiffies() function: ATA subsystem This delayed work is of the "about once a second" variety and can be rounded to coincide with other wakers. Signed-off-by: Arjan van de Ven Cc: Jeff Garzik Signed-off-by: Andrew Morton --- drivers/ata/libata-scsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/ata/libata-scsi.c~user-of-the-jiffies-rounding-patch-ata-subsystem drivers/ata/libata-scsi.c --- a/drivers/ata/libata-scsi.c~user-of-the-jiffies-rounding-patch-ata-subsystem +++ a/drivers/ata/libata-scsi.c @@ -3016,7 +3016,8 @@ void ata_scsi_hotplug(struct work_struct for (i = 0; i < ATA_MAX_DEVICES; i++) { struct ata_device *dev = &ap->device[i]; if (ata_dev_enabled(dev) && !dev->sdev) { - queue_delayed_work(ata_aux_wq, &ap->hotplug_task, HZ); + queue_delayed_work(ata_aux_wq, &ap->hotplug_task, + round_jiffies_relative(HZ)); break; } } _