lkml.org 
[lkml]   [2004]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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();
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.040 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site