powerpc: Move opcode definitions from kvm/emulate.c to asm/ppc-opcode.h
authorHongtao Jia <hongtao.jia@freescale.com>
Sun, 28 Apr 2013 05:20:07 +0000 (13:20 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 30 Jul 2013 20:50:07 +0000 (15:50 -0500)
commit9123c5ed45a583311d8373e99f5e3ee4c0b4306b
treedaa52aa9e3a0cd915c7c899e8622cb1eb670e734
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
powerpc: Move opcode definitions from kvm/emulate.c to asm/ppc-opcode.h

Opcode and xopcode are useful definitions not just for KVM. Move these
definitions to asm/ppc-opcode.h for public use.

Also add the opcodes for LHAUX and LWZUX.

Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
[scottwood@freesacle.com: update commit message and rebase]
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kvm/emulate.c