Add desktop PowerPC specific emulation
authorAlexander Graf <agraf@suse.de>
Fri, 30 Oct 2009 05:47:16 +0000 (05:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Nov 2009 05:49:57 +0000 (16:49 +1100)
commit513579e3a391a3874c478a8493080822069976e8
tree329af02fc9790cbfcdda3c7162a734fd34111801
parent9a7a9b09fee8487003df012d9af4b227b3661e4d
Add desktop PowerPC specific emulation

Little opcodes behave differently on desktop and embedded PowerPC cores.
In order to reflect those differences, let's add some #ifdef code to emulate.c.

We could probably also handle them in the core specific emulation files, but I
would prefer to reuse as much code as possible.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kvm/emulate.c