posix_types: Introduce __kernel_[u]long_t
authorH. Peter Anvin <hpa@zytor.com>
Tue, 14 Feb 2012 21:11:31 +0000 (13:11 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 20 Feb 2012 20:48:47 +0000 (12:48 -0800)
commitafead38d011ab2f333d12ebb6752ed9baa53b667
tree2812951df334a1bf6f21c82797090651d8044ce7
parentd8e5ddef21df05bc2a14d8c0e287cbf083da60a3
posix_types: Introduce __kernel_[u]long_t

Introduce __kernel_[u]long_t, which allows an ABI to override all
defaults of type [unsigned] long.

This enables x32 and potentially other 32-bit userspace on 64-bit
kernel ABIs.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
include/asm-generic/posix_types.h