]> git.openfabrics.org - ~emulex/tmp/compat/.git/commit
compat: backport phys_addr_t (CONFIG_PHYS_ADDR_T_64BIT)
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 8 Feb 2012 01:21:43 +0000 (17:21 -0800)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 8 Feb 2012 02:43:20 +0000 (18:43 -0800)
commit4ec0edbd1cc2e6165e29f8ba466324e975e1cd73
treee890bfe38d901e35a7661316e30247054846544b
parenta256f5102ea7b23a27015128481775202fb43e7b
compat: backport phys_addr_t (CONFIG_PHYS_ADDR_T_64BIT)

mcgrof@tux ~/linux-stable (git::linux-3.2.y)$ \
git describe --contains 600715dcdf567c86f8b2c6173fcfb4b873e25a19
v2.6.28-rc1~271^2^4~6

The CONFIG_PHYS_ADDR_T_64BIT  was added as of v2.6.28-rc1~271^2^4~6,
this is either u32 or u64 dependent on 64BIT || ARCH_PHYS_ADDR_T_64BIT.
The ARCH_PHYS_ADDR_T_64BIT allows architectures to override the
value even if the platform does not have CONFIG_64BIT. We simplify
this check by just checking for all known architecture variables and
also the CONFIG_64BIT -- but we skip adding this if the arch is
x86 or PPC which already had phys_addr_t.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
include/linux/compat-2.6.28.h