summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/prom.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-11-24 03:16:46 (GMT)
committerGrant Likely <grant.likely@secretlab.ca>2009-11-24 03:16:46 (GMT)
commit2be09cb993826b52c9fc1d44747c20dd43a50038 (patch)
tree7a407af6425942c2010f091a508c141494f9ee03 /arch/microblaze/kernel/prom.c
parent02af11b03fce3ddb264d7873d7a2e295e697938c (diff)
downloadlinux-fsl-qoriq-2be09cb993826b52c9fc1d44747c20dd43a50038.tar.xz
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 <grant.likely@secretlab.ca> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/prom.c')
0 files changed, 0 insertions, 0 deletions