]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Emulate sync instruction variants
authorJames Yang <James.Yang@freescale.com>
Wed, 3 Jul 2013 21:26:47 +0000 (16:26 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 16 Oct 2013 23:51:18 +0000 (18:51 -0500)
commit060924ee3056555740194db9e33fcb418edf4972
tree8c78c0eec82bcb7f1c2fd616c3a3c5f25f508588
parent5002b84c8ba7bdb5e39416bd93c878222332c701
powerpc: Emulate sync instruction variants

Reserved fields of the sync instruction have been used for other
instructions (e.g. lwsync).  On processors that do not support variants
of the sync instruction, emulate it by executing a sync to subsume the
effect of the intended instruction.

Signed-off-by: James Yang <James.Yang@freescale.com>
[scottwood@freescale.com: whitespace and subject line fix]
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kernel/traps.c