]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: Use SCRATCH0 and SCRATCH1 also for TLB handlers
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:07:54 +0000 (19:07 -0500)
commit4f3ce2b1ffa53c9c466b69b62b4c440f2bcef357
treee066c8e0221b594e6153a27c41bc01c778523360
parent2363c0e292b9e3b181cf580355393b814c24827f
powerpc/8xx: Use SCRATCH0 and SCRATCH1 also for TLB handlers

SCRATCH0 and SCRATCH1 are only used in Exceptions prologs where no other
exception can happen. There is therefore no need to preserve them accross
TLB handlers, we can use them there as in other exceptions. One of the
advantages is that they do not suffer CPU6 errata unlike M_TW register.

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