From: Grant Likely Date: Tue, 24 Nov 2009 03:16:46 +0000 (-0700) Subject: of: remove special case definition of of_read_ulong() X-Git-Tag: v2.6.34-rc1~289^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2be09cb993826b52c9fc1d44747c20dd43a50038;p=pandora-kernel.git of: remove special case definition of of_read_ulong() Special case of of_read_ulong() was defined for PPC32 to toss away all but the last 32 bits when a large number value was read, and the 'normal' version for ppc64 just #defined of_read_ulong to of_read_number which causes compiler warnings on MicroBlaze and other 32 bit architectures because it returns a u64 instead of a ulong. This patch fixes the problem by defining a common implementation of of_read_ulong() that works everywhere. Signed-off-by: Grant Likely Reviewed-by: Wolfram Sang Tested-by: Michal Simek --- Reading git-diff-tree failed