Re: [PATCH] Start of compat32.h (again)

David S. Miller (davem@redhat.com)
Wed, 27 Nov 2002 00:06:40 -0800 (PST)


From: David Mosberger <davidm@napali.hpl.hp.com>
Date: Wed, 27 Nov 2002 00:00:53 -0800

It should be safe to declare the syscall
return type always as "long", no?

Sign extension is a rule of the architecture.

So if the platform says "int shall not be sign
extended to 64-bits", declaring as long is wrong.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/