The patch titled cciss: fix schedule_timeout() parameters has been added to the -mm tree. Its filename is cciss-fix-schedule_timeout-parameters.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: cciss: fix schedule_timeout() parameters From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Change schedule_timeout() parameter to not be specific to HZ=1000. Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Acked-by: Mike Miller <mike.miller@xxxxxx> Cc: Marcin Slusarz <marcin.slusarz@xxxxxxxxx> Cc: Jens Axboe <jens.axboe@xxxxxxxxxx> Cc: "Cameron, Steve" <Steve.Cameron@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/cciss.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN drivers/block/cciss.c~cciss-fix-schedule_timeout-parameters drivers/block/cciss.c --- a/drivers/block/cciss.c~cciss-fix-schedule_timeout-parameters +++ a/drivers/block/cciss.c @@ -36,6 +36,7 @@ #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/init.h> +#include <linux/jiffies.h> #include <linux/hdreg.h> #include <linux/spinlock.h> #include <linux/compat.h> @@ -3489,7 +3490,7 @@ static int __devinit cciss_pci_init(ctlr if (scratchpad == CCISS_FIRMWARE_READY) break; set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(HZ / 10); /* wait 100ms */ + schedule_timeout(msecs_to_jiffies(100)); /* wait 100ms */ } if (scratchpad != CCISS_FIRMWARE_READY) { printk(KERN_WARNING "cciss: Board not ready. Timed out.\n"); @@ -3615,7 +3616,7 @@ static int __devinit cciss_pci_init(ctlr break; /* delay and try again */ set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(10); + schedule_timeout(msecs_to_jiffies(1)); } #ifdef CCISS_DEBUG _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are origin.patch linux-next.patch input-drivers-input-xpadc-improve-xbox-360-wireless-support-and-add-sysfs-interface.patch kernel-hacking-move-strip_asm_syms-from-general.patch mtd-make-onenand-genericc-more-generic-fix.patch isdn-fix-netjet-build-errors.patch scsi-fix-func-names-in-kernel-doc.patch cciss-fix-schedule_timeout-parameters.patch mm-make-swap-token-dummies-static-inlines-fix-2.patch readahead-add-blk_run_backing_dev-fix-fix-2.patch page_alloc-fix-kernel-doc-warning.patch ksm-add-some-documentation.patch lis3-add-power-management-functions-fix.patch procfs-provide-stack-information-for-threads-v011-fix.patch spih-add-missing-kernel-doc-for-struct-spi_master.patch gpiolib-allow-exported-gpio-nodes-to-be-named-using-sysfs-links-update-fix.patch doc-filesystems-remove-smount-program.patch doc-filesystems-more-mount-cleanups.patch documentation-update-stale-definition-of-file-nr-in-fstxt.patch includecheck-fix-documentation-cfag12864b-examplec.patch reiser4-export-remove_from_page_cache-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html