KVM: PPC: Make PAM a define
authorAlexander Graf <agraf@suse.de>
Thu, 29 Jul 2010 12:47:52 +0000 (14:47 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:46 +0000 (10:50 +0200)
commit28e83b4fa7f8bd114940fa933ac8cbe80969eba2
treeae4daee5d2977bb2aa0ea2e07d7640895a874fb5
parent90bba358873dc96a6746f0df453a0a8ca3d6b86e
KVM: PPC: Make PAM a define

On PowerPC it's very normal to not support all of the physical RAM in real mode.
To check if we're matching on the shared page or not, we need to know the limits
so we can restrain ourselves to that range.

So let's make it a define instead of open-coding it. And while at it, let's also
increase it.

Signed-off-by: Alexander Graf <agraf@suse.de>
v2 -> v3:

  - RMO -> PAM (non-magic page)
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/book3s.c