]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Don't clobber r9 in relative_toc()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Sep 2011 17:44:51 +0000 (17:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 20 Sep 2011 05:53:24 +0000 (15:53 +1000)
commit346704f286f80c65390a4c32e1d112d5797fc533
tree9cd89cd8c4056403e180c24ac8140cf8f2a1ca8f
parent4e02ee39338752424271a13a4d63f978226211a4
powerpc/powernv: Don't clobber r9 in relative_toc()

With OPAL, r8 and r9 will be used to pass the OPAL base and entry
for debugging purposes (those informations are also in the
device-tree). We don't want to clobber those registers that
early.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_64.S