All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: ppc: Fix size of the PSPB register
@ 2015-09-01 21:41 ` Thomas Huth
  0 siblings, 0 replies; 21+ messages in thread
From: Thomas Huth @ 2015-09-01 21:41 UTC (permalink / raw)
  To: kvm-ppc, Alexander Graf, Paul Mackerras; +Cc: kvm, linuxppc-dev

The size of the Problem State Priority Boost Register is only
32 bits, so let's change the type of the corresponding variable
accordingly to avoid future trouble.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 arch/powerpc/include/asm/kvm_host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h
index d91f65b..c825f3a 100644
--- a/arch/powerpc/include/asm/kvm_host.h
+++ b/arch/powerpc/include/asm/kvm_host.h
@@ -473,7 +473,7 @@ struct kvm_vcpu_arch {
 	ulong ciabr;
 	ulong cfar;
 	ulong ppr;
-	ulong pspb;
+	u32 pspb;
 	ulong fscr;
 	ulong shadow_fscr;
 	ulong ebbhr;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-09-02  8:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 21:41 [PATCH] KVM: ppc: Fix size of the PSPB register Thomas Huth
2015-09-01 21:41 ` Thomas Huth
2015-09-01 22:24 ` Paul Mackerras
2015-09-01 22:24   ` Paul Mackerras
2015-09-01 22:30   ` Benjamin Herrenschmidt
2015-09-01 22:30     ` Benjamin Herrenschmidt
2015-09-02  7:16   ` Thomas Huth
2015-09-02  7:16     ` Thomas Huth
2015-09-01 22:25 ` Benjamin Herrenschmidt
2015-09-01 22:25   ` Benjamin Herrenschmidt
2015-09-01 22:45   ` Paul Mackerras
2015-09-01 22:45     ` Paul Mackerras
2015-09-01 22:45     ` Paul Mackerras
2015-09-01 22:55     ` Benjamin Herrenschmidt
2015-09-01 22:55       ` Benjamin Herrenschmidt
2015-09-02  7:26       ` Thomas Huth
2015-09-02  7:26         ` Thomas Huth
2015-09-02  8:26         ` Alexander Graf
2015-09-02  8:26           ` Alexander Graf
2015-09-02  8:35           ` Thomas Huth
2015-09-02  8:35             ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.