ppc64: fix compilation warning
Fix compilation warning introduced by commit
577be2593d4895ef941e1c4e5e1608f7dd13610d
* signal.c (sys_sigreturn) [POWERPC64]: Fix initialization of signal
mask on 32bit personality.
diff --git a/signal.c b/signal.c
index 34b2946..a970355 100644
--- a/signal.c
+++ b/signal.c
@@ -793,14 +793,11 @@
} else {
unsigned long mask[NSIG / 8 / sizeof(long)];
#ifdef POWERPC64
- if (current_personality == 0)
- mask[0] = sc.oldmask | (sc._unused[3] << 32);
- else
+ mask[0] = sc.oldmask | (sc._unused[3] << 32);
+#else
+ mask[0] = sc.oldmask;
+ mask[1] = sc._unused[3];
#endif
- {
- mask[0] = sc.oldmask;
- mask[1] = sc._unused[3];
- }
tprintsigmask_val("", mask);
}
tprints("}");