Re: [PATCH] Use __kernel_long_t in struct timex

From: H.J. Lu
Date: Thu Dec 26 2013 - 10:37:50 EST


On Thu, Dec 26, 2013 at 07:35:09AM -0800, H.J. Lu wrote:
> On Tue, Dec 24, 2013 at 04:24:58PM -0800, H.J. Lu wrote:
> > X32 adjtimex system call is the same as x86-64 adjtimex system call,
> > which uses 64-bit integer for long in struct timex. But x32 long is
> > 32 bit. This patch replaces long in struct timex with __kernel_long_t.
> >
>
> Here is the updated patch which uses __kernel_long_t only if
> __BITS_PER_LONG == 64.

Forgot to include the new patch. Here it is.

H.J.