z80: Fix IRQ handling for NMOS devices
authorAlan Cox <alan@linux.intel.com>
Mon, 20 Apr 2015 21:25:02 +0000 (22:25 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 20 Apr 2015 21:25:02 +0000 (22:25 +0100)
Kernel/lowlevel-z80-nmos.s

index 715a7a5..dae2dc5 100644 (file)
@@ -13,6 +13,7 @@ _di:          xor a           ; NMOS Z80 bug work around as per CPU manual
                scf             ; disabled
 was_ei:                push af
                pop hl
+               di
                ret
 
 _irqrestore:   pop hl