]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e4befaf6e3f4965aa7692d393c24e25f40b5a6b
treea8f432dc38bfde94a6070f05c3be88ce64af7c0f
parent997de2cdb68e628f9f3e32daaf43441939e9e89b
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