include/linux: move typdef for uintptr_t
authorAneesh Bansal <aneesh.bansal@freescale.com>
Tue, 8 Dec 2015 08:24:28 +0000 (13:54 +0530)
committerYork Sun <yorksun@freescale.com>
Tue, 15 Dec 2015 00:57:34 +0000 (08:57 +0800)
commite8f954a756a825130d11b9c8fca70101dd8b3ac5
treee3b45d7ada855e17b537300f3f04bf958819dac8
parent70f959c3c45bd408ba4f7b18a3a69afd9ccfe739
include/linux: move typdef for uintptr_t

uintptr_t which is a typdef for unsigned long is needed for creating
pointers (32 or 64 bit depending on Core) from 32 bit variables
storing the address.
If a 32 bit variable (u32) is typecasted to a pointer (void *),
compiler gives a warning in case size of pointer on the core is 64 bit.

The typdef has been moved from include/compiler.h to include/linux/types.h

Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/compiler.h
include/linux/types.h