Commit 72a4ba8f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] M68k fbdev local_irq*() updates

Convert m68k fbdev drivers to new local_irq*() framework:
  - Atari builtin graphics
parent 77158a9d
...@@ -2050,8 +2050,7 @@ static void st_ovsc_switch(void) ...@@ -2050,8 +2050,7 @@ static void st_ovsc_switch(void)
if (!(atari_switches & ATARI_SWITCH_OVSC_MASK)) if (!(atari_switches & ATARI_SWITCH_OVSC_MASK))
return; return;
save_flags(flags); local_irq_save(flags);
cli();
mfp.tim_ct_b = 0x10; mfp.tim_ct_b = 0x10;
mfp.active_edge |= 8; mfp.active_edge |= 8;
...@@ -2079,7 +2078,7 @@ static void st_ovsc_switch(void) ...@@ -2079,7 +2078,7 @@ static void st_ovsc_switch(void)
((atari_switches&ATARI_SWITCH_OVSC_SND6) ? 0x40:0) | ((atari_switches&ATARI_SWITCH_OVSC_SND6) ? 0x40:0) |
((atari_switches&ATARI_SWITCH_OVSC_SND7) ? 0x80:0); ((atari_switches&ATARI_SWITCH_OVSC_SND7) ? 0x80:0);
} }
restore_flags(flags); local_irq_restore(flags);
} }
/* ------------------- External Video ---------------------- */ /* ------------------- External Video ---------------------- */
......
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