|
@@ -527,7 +527,7 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka,
|
|
|
int ret;
|
|
|
|
|
|
/* Are we from a system call? */
|
|
|
- if (regs->orig_ax >= 0) {
|
|
|
+ if ((long)regs->orig_ax >= 0) {
|
|
|
/* If so, check system call restarting.. */
|
|
|
switch (regs->ax) {
|
|
|
case -ERESTART_RESTARTBLOCK:
|
|
@@ -625,7 +625,7 @@ static void do_signal(struct pt_regs *regs)
|
|
|
}
|
|
|
|
|
|
/* Did we come from a system call? */
|
|
|
- if (regs->orig_ax >= 0) {
|
|
|
+ if ((long)regs->orig_ax >= 0) {
|
|
|
/* Restart the system call - no handlers present */
|
|
|
switch (regs->ax) {
|
|
|
case -ERESTARTNOHAND:
|