Re: [PATCH resend] asm/types.h: All architectures use int-ll64.h in kernelspace
From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-08-13 21:26:35
Also in:
lkml
From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-08-13 21:26:35
Also in:
lkml
On Saturday 13 August 2011 21:53:43 Geert Uytterhoeven wrote:
Now all 64-bit architectures have been converted to int-ll64.h, we can
deprecate int-l64.h in kernelspace:
- Add a check to prevent new architectures from using int-l64.h in
kernelspace,
- Update documentation, as the casts to (unsigned) long long are no longer
needed.
For backwards compatibility, alpha, ia64, mips, and powerpc still use
int-l64.h in userspace.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
For the documentation parts:
Acked-by: Randy Dunlap <redacted>I believe that Al Viro is working on a patch to unify all umode_t definitions so that it becomes unsigned short everywhere. Once that is done, asm-generic/int-ll64.h can become asm-generic/types.h and all architectures can use that. Arnd