]> err.no Git - linux-2.6/commitdiff
drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment
authorBastien Roucaries <roucaries.bastien@gmail.com>
Sun, 26 Mar 2006 17:18:07 +0000 (19:18 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 26 Mar 2006 17:18:07 +0000 (19:18 +0200)
This patch correct a comment about cli().

Signed-off-by: Bastien Roucaries <roucaries.bastien@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/char/ftape/lowlevel/fdc-io.c

index b2e0928e84288b6a392e7951fd3724649a54fd27..093fdf98b19a999dddc9b8ebe1dfe87dd4a2ad15 100644 (file)
@@ -607,7 +607,7 @@ void fdc_reset(void)
 
        fdc_mode = fdc_idle;
 
-       /*  maybe the cli()/sti() pair is not necessary, BUT:
+       /*  maybe the spin_lock_irq* pair is not necessary, BUT:
         *  the following line MUST be here. Otherwise fdc_interrupt_wait()
         *  won't wait. Note that fdc_reset() is called from 
         *  ftape_dumb_stop() when the fdc is busy transferring data. In this