]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: Optimize verification in FixupDAR
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 29 Aug 2014 09:14:38 +0000 (11:14 +0200)
committerScott Wood <scottwood@freescale.com>
Fri, 5 Sep 2014 00:26:54 +0000 (19:26 -0500)
commite0f238abdc55b1837b628a79f167c3b755b8facf
tree0903b975db3d690d7ea2d396a197ab095108e954
parent2a37f50c3ccd551c6202cfb1ec886b712d24613a
powerpc/8xx: Optimize verification in FixupDAR

By XORing the upper part of the instruction code, we get a value that can
directly be verified with the second test and we can remove the first test.

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