lkml.org 
[lkml]   [2013]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gentoo.org>

I'm not sure if it is okay to change the types, even within the same
size. Perhaps use __u64/__s64?

-hpa




\
 
 \ /
  Last update: 2013-05-09 07:01    [W:0.141 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site