[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E61B84A.9070007@zytor.com>
Date: Fri, 02 Sep 2011 22:16:58 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: "H.J. Lu" <hjl.tools@...il.com>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Christoph Hellwig <hch@...radead.org>,
LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Richard Kuo <rkuo@...eaurora.org>,
Mark Salter <msalter@...hat.com>,
Jonas Bonn <jonas@...thpole.se>,
Tobias Klauser <tklauser@...tanz.ch>
Subject: Re: RFD: x32 ABI system call numbers
On 09/02/2011 09:44 PM, H.J. Lu wrote:
>>
>> What is the definition of these macros?
>>
>
> I have
>
> #if defined __x86_64__ && __WORDSIZE == 32
> #define __INO_T_TYPE __UQUAD_TYPE
> #define __NLINK_T_TYPE __UQUAD_TYPE
> #define __OFF_T_TYPE __SQUAD_TYPE
> #define __RLIM_T_TYPE __UQUAD_TYPE
> #define __BLKCNT_T_TYPE __SQUAD_TYPE
> #define __FSFILCNT_T_TYPE __UQUAD_TYPE
> #define __FSBLKCNT_T_TYPE __UQUAD_TYPE
> #define __TIME_T_TYPE __SQUAD_TYPE
> #define __BLKSIZE_T_TYPE __SQUAD_TYPE
> #define __SUSECONDS_T_TYPE __SQUAD_TYPE
> #define __SNATIVE_LONG_TYPE __SQUAD_TYPE
> #define __UNATIVE_LONG_TYPE __UQUAD_TYPE
> #else
> #define __INO_T_TYPE __ULONGWORD_TYPE
> #define __NLINK_T_TYPE __UWORD_TYPE
> #define __OFF_T_TYPE __SLONGWORD_TYPE
> #define __RLIM_T_TYPE __ULONGWORD_TYPE
> #define __BLKCNT_T_TYPE __SLONGWORD_TYPE
> #define __FSFILCNT_T_TYPE __ULONGWORD_TYPE
> #define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE
> #define __TIME_T_TYPE __SLONGWORD_TYPE
> #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE
> #define __SUSECONDS_T_TYPE __SLONGWORD_TYPE
> #define __SNATIVE_LONG_TYPE __SLONGWORD_TYPE
> #define __UNATIVE_LONG_TYPE __ULONGWORD_TYPE
> #endif
>
I don't understand the types on the right side...
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists