[PATCH] s390 (3/10): sclp fix.

From: Martin Schwidefsky
Date: Fri Mar 12 2004 - 14:44:54 EST


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

diffstat:
drivers/s390/char/sclp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff -urN linux-2.6/drivers/s390/char/sclp.c linux-2.6-s390/drivers/s390/char/sclp.c
--- linux-2.6/drivers/s390/char/sclp.c Thu Mar 11 03:55:35 2004
+++ linux-2.6-s390/drivers/s390/char/sclp.c Fri Mar 12 20:03:31 2004
@@ -335,8 +335,8 @@
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 @@

/* restore cr0 */
__ctl_load(cr0, 0, 0);
- irq_exit();
+ __local_bh_enable();
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/