From: Michael Neuling Date: Mon, 25 Jun 2012 13:33:10 +0000 (+0000) Subject: powerpc: Fix usage of register macros getting ready for %r0 change X-Git-Tag: v3.6-rc1~132^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c75df6f96c59beed8632e3aced5fb4faabaa6c5b;p=pandora-kernel.git powerpc: Fix usage of register macros getting ready for %r0 change Anything that uses a constructed instruction (ie. from ppc-opcode.h), need to use the new R0 macro, as %r0 is not going to work. Also convert usages of macros where we are just determining an offset (usually for a load/store), like: std r14,STK_REG(r14)(r1) Can't use STK_REG(r14) as %r14 doesn't work in the STK_REG macro since it's just calculating an offset. Signed-off-by: Michael Neuling Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed