Re: RFD: x32 ABI system call numbers

From: H.J. Lu
Date: Sat Sep 03 2011 - 10:15:13 EST


On Fri, Sep 2, 2011 at 10:29 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 09/02/2011 09:44 PM, H.J. Lu wrote:
>>
>> Is there a way to support something similar to  __SNATIVE_LONG_TYPE
>> and  __UNATIVE_LONG_TYPE for kernel header files.
>>
>
> Again, what is the definition you're looking for?  We have __u64 and
> __s64, but the question is what alignment those types should be using,
> given that we're presumably stuck with using compat_ioctl for ioctl...
>

I want a type for integer register with natural alignment, which is

1. long with 4 byte alignment for ia32.
2. long with 8 byte alignment for x86-64
3. long long with 8 byte alignment for x32.

--
H.J.
--
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/