From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] s390 (3/10): sclp fix.
Date: Fri, 12 Mar 2004 20:36:34 +0100 [thread overview]
Message-ID: <20040312193634.GD2757@mschwid3.boeblingen.de.ibm.com> (raw)
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();
}
/*
next reply other threads:[~2004-03-12 19:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 19:36 Martin Schwidefsky [this message]
2004-03-16 13:49 Martin Schwidefsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040312193634.GD2757@mschwid3.boeblingen.de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®