alpha: fix usp value in multithreaded coredumps

rdusp() gives us the right value only for the current thread...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds 32163f4b 77edffb6

+1 -1
+1 -1
arch/alpha/kernel/process.c
··· 356 356 dest[27] = pt->r27; 357 357 dest[28] = pt->r28; 358 358 dest[29] = pt->gp; 359 - dest[30] = rdusp(); 359 + dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; 360 360 dest[31] = pt->pc; 361 361 362 362 /* Once upon a time this was the PS value. Which is stupid