Commit 77158a9d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] MVME147 core local_irq*() updates

Convert core MVME147 code to new local_irq*() framework
parent eb0ea8b4
...@@ -211,8 +211,7 @@ void m147_scc_write (struct console *co, const char *str, unsigned count) ...@@ -211,8 +211,7 @@ void m147_scc_write (struct console *co, const char *str, unsigned count)
{ {
unsigned long flags; unsigned long flags;
save_flags(flags); local_irq_save(flags);
cli();
while (count--) while (count--)
{ {
...@@ -220,7 +219,7 @@ void m147_scc_write (struct console *co, const char *str, unsigned count) ...@@ -220,7 +219,7 @@ void m147_scc_write (struct console *co, const char *str, unsigned count)
scc_write ('\r'); scc_write ('\r');
scc_write (*str++); scc_write (*str++);
} }
restore_flags(flags); local_irq_restore(flags);
} }
void mvme147_init_console_port (struct console *co, int cflag) void mvme147_init_console_port (struct console *co, int cflag)
......
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