Commit f0d23b91 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] s390: sclp fix.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

sclp console fixes:
  - Replace irq_enter/irq_exit pair with Add local_bh_enable/local_bh_disable.
parent 5c1fa264
......@@ -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();
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment