]> git.hungrycats.org Git - linux/commitdiff
[PATCH] s390: sclp fix.
authorAndrew Morton <akpm@osdl.org>
Tue, 16 Mar 2004 23:08:09 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 16 Mar 2004 23:08:09 +0000 (15:08 -0800)
From: Martin Schwidefsky <schwidefsky@de.ibm.com>

sclp console fixes:
  - Replace irq_enter/irq_exit pair with Add local_bh_enable/local_bh_disable.

drivers/s390/char/sclp.c

index 39dc925655e770e467a715b3b26b4a54fe36b086..e36307dedf16bd296ee54efa2799e8acf6eb7818 100644 (file)
@@ -335,8 +335,8 @@ sclp_sync_wait(void)
        unsigned long psw_mask;
        unsigned long cr0, cr0_sync;
 
-       /* Need to irq_enter() to prevent BH from executing. */
-       irq_enter();
+       /* Prevent BH from executing. */
+       local_bh_disable();
        /*
         * save cr0
         * enable service signal external interruption (cr0.22)
@@ -365,7 +365,7 @@ sclp_sync_wait(void)
 
        /* restore cr0 */
        __ctl_load(cr0, 0, 0);
-       irq_exit();
+       __local_bh_enable();
 }
 
 /*