Re: From Eric Anholt:

From: H. Peter Anvin
Date: Tue May 11 2004 - 19:32:16 EST


Followup to: <20040511234329.GA27242@xxxxxxxxx>
By author: Greg KH <greg@xxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> Don't know, but how are you dealing with the issue that an "int" is
> different for different kernel sizes (64 vs 32) and userspace too.
> That's why you can't use it in an ioctl and expect things to work
> properly.
>

On Linux, "int" should always be 32 bits. "long", and "void *",
however, may be 32 or 64 bits.

-hpa
-
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/