]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/powerpc/kernel/head_8xx.S
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)
commit41cacac63c98803e9fbb054db0b74f92a8c082e4
tree0903b975db3d690d7ea2d396a197ab095108e954
parent5bcbe24f6c7aec918b8cb75e53f8f7f897e3a091
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