]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: PPC: Enable napping only for Book3s_64
authorAlexander Graf <agraf@suse.de>
Tue, 17 Aug 2010 20:08:39 +0000 (22:08 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:19 +0000 (10:52 +0200)
commit591bd8e7b4c8b9246d7a1c81ffbd28e35dc5de4e
tree5d512d445bb6d74cc0d9e2bc84fc28d265d03c9c
parentebc65874e9e8f3b8bbbc69aa49acd7489cd41c52
KVM: PPC: Enable napping only for Book3s_64

Before I incorrectly enabled napping also for BookE, which would result in
needless dcache flushes. Since we only need to force enable napping on
Book3s_64 because it doesn't go into MSR_POW otherwise, we can just #ifdef
that code to this particular platform.

Reported-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/kvm.c