]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: mfspr SPRN_TBRx in lieu of mftb/mftbu is not supported
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 22 Nov 2013 16:57:31 +0000 (17:57 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 22 Nov 2013 22:56:48 +0000 (16:56 -0600)
commit5ceb4f01ccd473723bb29f45fe33f1b17986ca3d
tree1f6f4ba3beb2358c53bb951e3002c83de824163d
parentf84491389a0ce2316f4e58c09448e184154e4c99
powerpc/8xx: mfspr SPRN_TBRx in lieu of mftb/mftbu is not supported

Commit 8e6ef1408c6f81098bbe8d430a00e07cdd3f9975 breaks the MPC8xx which
seems to not support using mfspr SPRN_TBRx instead of mftb/mftbu
despite what is written in the reference manual.

This patch reverts to the use of mftb/mftbu when CONFIG_8xx is
selected.

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