[MTD] NAND: Use cond_resched instead of msleep
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Mar 2005 09:32:48 +0000 (09:32 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:47:55 +0000 (12:47 +0200)
commit20a6c211903dce92a0db7f19c221cfa3f2cb4c32
treef50c0611c9c4129d61625e352352f317ab089ed1
parent31fbdf7aa5aac8a2a34f180a25deb157297a10c9
[MTD] NAND: Use cond_resched instead of msleep

Replace msleep by cond_resched. On machines with HZ=100 (e.g. ARM)
msleep slows down the operation by factor 10

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c