Ver Fonte

drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment

This patch correct a comment about cli().

Signed-off-by: Bastien Roucaries <roucaries.bastien@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Bastien Roucaries há 19 anos atrás
pai
commit
e9415777b1
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/char/ftape/lowlevel/fdc-io.c

+ 1 - 1
drivers/char/ftape/lowlevel/fdc-io.c

@@ -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