]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb63adb6b598e7c8dc5e10f3d1656e9abe6bf0c29
treeae4daee5d2977bb2aa0ea2e07d7640895a874fb5
parent70309c3be51f584cce0c0da538c06dda7c7efa8b
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