[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <518B2033.80300@zytor.com>
Date: Wed, 08 May 2013 21:04:03 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Mike Frysinger <vapier@...too.org>
CC: x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: make stat/statfs 64-bit for x86_64 kernels
On 05/08/2013 09:00 PM, Mike Frysinger wrote:
> When including these headers in the x32 ABI, the structs get declared
> with 32bit sizes which is incorrect. Use long long and such to make
> it work both with x32 and x86_64.
>
> Signed-off-by: Mike Frysinger <vapier@...too.org>
I'm not sure if it is okay to change the types, even within the same
size. Perhaps use __u64/__s64?
-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