z80fixedbank: Enable Tormod's UDATA optimisation
authorAlan Cox <alan@linux.intel.com>
Sun, 31 May 2015 15:59:39 +0000 (16:59 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 31 May 2015 15:59:39 +0000 (16:59 +0100)
Kernel/lib/z80fixedbank.s

index 78ad933..864f09e 100644 (file)
@@ -117,10 +117,10 @@ _switchin:
        pop hl
        ld a, (hl)
 not_swapped:
-;      ld hl, (U_DATA__U_PTAB)
-;      or a
-;      sbc hl, de
-;      jr z, skip_copyback     ; Tormod's optimisation: don't copy the
+       ld hl, (U_DATA__U_PTAB)
+       or a
+       sbc hl, de
+       jr z, skip_copyback     ; Tormod's optimisation: don't copy the
                                ; the stash back if we are the task who
                                ; last owned the real udata
        ; Pages please !