From: Benjamin Herrenschmidt Date: Wed, 1 Nov 2006 04:53:00 +0000 (+1100) Subject: [POWERPC] pmac_feature_call checks platform X-Git-Tag: v2.6.22-rc1~358^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eb2e6019ae8e76a537bdca07b31e1524a3bba48;p=pandora-kernel.git [POWERPC] pmac_feature_call checks platform This patch makes sure that a caller of pmac_call_feature() won't try to call into ppc_md.feature_call of another platform, which might happen if some powermac drivers are loaded on non-powermac machines. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed