z80fixedbank: Always use the swapstack
authorAlan Cox <alan@linux.intel.com>
Fri, 19 Dec 2014 01:30:26 +0000 (01:30 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 19 Dec 2014 01:30:26 +0000 (01:30 +0000)
commit6ffb384b5583c819cb53ccfdc30db632a486e5d7
tree7b695c31cda2678d7c09aaea7de0f9bc62db1af5
parent4d1a223d01c802c2a1dfdafea8542c46b0e5cc9e
z80fixedbank: Always use the swapstack

If we don't then when we call map_kernel after copying the udata back we
will scribble somewhere on the stack of the process. We could potentially
move the switch back to the point we've fixed up sp, but as we have a swap
stack we might as well use it.

If we get banked boxes without swap then it may be worth looking at the other
path for a lib/z80fixedbanknswap.s
Kernel/lib/z80fixedbank.s