]> 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)
commit31283cfeda3ccbe4c4e757879c899e145161ac3c
tree8c78c0eec82bcb7f1c2fd616c3a3c5f25f508588
parent73c6736b5f6a694abd52ed6a4fb6ebe397a7e733
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