OSDN Git Service

powerpc/8xx: Handle CPU6 ERRATA directly in mtspr() macro
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 9 Feb 2016 16:08:14 +0000 (17:08 +0100)
committerScott Wood <oss@buserror.net>
Fri, 11 Mar 2016 23:18:02 +0000 (17:18 -0600)
commit1458dd951f7cc0127508f928497c9ab06b5e557d
treea8f432dc38bfde94a6070f05c3be88ce64af7c0f
parent7ee5cf6bfad7990cc33d10888d869c1eb7d4a927
powerpc/8xx: Handle CPU6 ERRATA directly in mtspr() macro

MPC8xx has an ERRATA on the use of mtspr() for some registers
This patch includes the ERRATA handling directly into mtspr() macro
so that mtspr() users don't need to bother about that errata

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/include/asm/reg.h
arch/powerpc/include/asm/reg_8xx.h