Re: PATCH - x86-64 signed-compare bug, was Re: select() settingERESTARTNOHAND (514).

From: David Miller
Date: Wed Jan 10 2007 - 19:43:37 EST


From: Neil Brown <neilb@xxxxxxx>
Date: Thu, 11 Jan 2007 11:37:05 +1100

> On x86-64, regs->rax is "unsigned long", so the following is
> needed....
>
> I haven't tried it yet.

Doesn't type promotion take care of that? Did you verify
that assember?

I checked the assembler on sparc64 for similar constructs
and it does the right thing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/