drm: fix the ALIGN macro to avoid value clamp
authorJammy Zhou <Jammy.Zhou@amd.com>
Mon, 13 Jul 2015 08:49:42 +0000 (16:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Aug 2015 17:47:52 +0000 (13:47 -0400)
commit90e14d453ae8f08701e10c61264b53a233acfa3c
tree5f3490d34f2937469d51d3d9d36066e0213675c8
parent95ecf91c7bb33a49093cfa2a19bc841c04b2707a
drm: fix the ALIGN macro to avoid value clamp

If the value is 64bit, but the alignment is 32bit type, the high 32bit
will be clamped with previous definition

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
util_math.h