From: Kyle Moffett Date: Fri, 2 Dec 2011 06:27:59 +0000 (+0000) Subject: powerpc: Consolidate mpic_alloc() OF address translation X-Git-Tag: v3.3-rc1~181^2~50^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf41568969e003c3d5410124e27bbdce7852e1b;p=pandora-kernel.git powerpc: Consolidate mpic_alloc() OF address translation Instead of using the open-coded "reg" property lookup and address translation in mpic_alloc(), directly call of_address_to_resource(). This includes various workarounds for special cases which the naive of_address_translate() does not. Afterwards it is possible to remove the copiously copy-pasted calls to of_address_translate() from the 85xx/86xx/powermac platforms. Signed-off-by: Kyle Moffett Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Grant Likely Cc: Kumar Gala Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed