xtensa: complete ptrace handling of register windows
xtensa: complete ptrace handling of register windows

Compute WindowBase and WindowMask registers correctly on ptrace calls.
Work done earlier by Maxim, Christian and Marc.

Signed-off-by: Marc Gauthier <d33c80bc45d65303e33ca83108a9952b745af9ef@tensilica.com>
Signed-off-by: Max Filippov <8c5ea195856807f4f02a6e0749c87ea6b7375f38@gmail.com>
Signed-off-by: Chris Zankel <711c73f64afdce07b7e38039a96d2224209e9a6c@zankel.net>

KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas