KVM: PPC: Book3s HV: Fix tlbie compile error
authorAlexander Graf <agraf@suse.de>
Wed, 11 Jun 2014 15:13:55 +0000 (17:13 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:22:12 +0000 (15:22 +0200)
commitf6bf3a66227447f89f25b9db0ae39357decf2509
tree761834f7349e02e83e4ee5c387394f735eb54195
parentfb4188bad02f4871b26cf19b98e8d92499ca5d31
KVM: PPC: Book3s HV: Fix tlbie compile error

Some compilers complain about uninitialized variables in the compute_tlbie_rb
function. When you follow the code path you'll realize that we'll never get
to that point, but the compiler isn't all that smart.

So just default to 4k page sizes for everything, making the compiler happy
and the code slightly easier to read.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/kvm_book3s_64.h