powerpc/8xx: Declare SPRG2 as a SCRATCH register
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 29 Aug 2014 09:14:37 +0000 (11:14 +0200)
committerScott Wood <scottwood@freescale.com>
Fri, 5 Sep 2014 00:02:11 +0000 (19:02 -0500)
commitae466bde19752f8638fd458225fb65ded5db5e16
tree4ff4c6754c6d2a16ae61cfd8364a18891460b5ce
parentc822e73731fce3b49a4887140878d084d8a44c08
powerpc/8xx: Declare SPRG2 as a SCRATCH register

Since commit 469d62be9263b92f2c3329540cbb1c076111f4f3, SPRG2 is used as a
scratch register just like SPRG0 and SPRG1. So Declare it as such and fix
the comment which is not valid anymore since that commit.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/head_8xx.S