2004-03-12 19:40:28

by Martin Schwidefsky

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

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();
}

/*