diff options
Diffstat (limited to 'linux/alpha/set_error.c')
-rw-r--r-- | linux/alpha/set_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/alpha/set_error.c b/linux/alpha/set_error.c index 169277bc3..78a247e5e 100644 --- a/linux/alpha/set_error.c +++ b/linux/alpha/set_error.c @@ -1,8 +1,8 @@ static int arch_set_error(struct tcb *tcp) { - alpha_r0 = tcp->u_error; - return upoke(tcp, REG_R0, alpha_r0); + return upoke(tcp, REG_A3, (alpha_a3 = 1)) + || upoke(tcp, REG_R0, (alpha_r0 = tcp->u_error)); } static int |