[XTENSA] Add missing a2 register restore in register spill routine
commit50c0716aa2f49a9d34589e380fad73402464c088
authorChris Zankel <chris@zankel.net>
Wed, 14 Nov 2007 21:47:02 +0000 (14 13:47 -0800)
committerChris Zankel <chris@zankel.net>
Thu, 14 Feb 2008 01:21:27 +0000 (13 17:21 -0800)
tree714e50f1c391bbed2034b361ac2be66773b1cb2c
parented3174d93c342b8b2eeba6bbd124707d55304a7b
[XTENSA] Add missing a2 register restore in register spill routine

Register a2 is saved in depc but wasn't getting restored before
returning from _spill_registers when there weren't any registers
to spill. The mask to cut the top bit from the rotated WINDOWMASK
register was also one bit short.

Signed-off-by: CHris Zankel <chris@zankel.net>
arch/xtensa/kernel/entry.S