]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitae2163be10ac6090e7aeed72591e2d7fabb1cdda
tree1f6f4ba3beb2358c53bb951e3002c83de824163d
parentcbf8a358be27ceecea5bd44cf82ab01683fcc90c
powerpc/8xx: mfspr SPRN_TBRx in lieu of mftb/mftbu is not supported

Commit beb2dc0a7a84be003ce54e98b95d65cc66e6e536 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