Move dirty logging code to sub-arch
commit4e755758cbbeb0afe44556c1ce52ea6f590ed5bf
authorAlexander Graf <agraf@suse.de>
Fri, 30 Oct 2009 05:47:01 +0000 (30 05:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Nov 2009 05:49:51 +0000 (5 16:49 +1100)
tree25cddb4cf7ea84e5c53b4b6c6b8a8968514d4b9e
parent588e050887c5f00a39b056848ea58c8b496beab0
Move dirty logging code to sub-arch

PowerPC code handles dirty logging in the generic parts atm. While this
is great for "return -ENOTSUPP", we need to be rather target specific
when actually implementing it.

So let's split it to implementation specific code, so we can implement
it for book3s.

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