linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Fix LPCR_VRMASD definition
@ 2016-12-08  3:29 Jia He
  2016-12-08  3:51 ` Aneesh Kumar K.V
  2016-12-08 21:18 ` Paul Mackerras
  0 siblings, 2 replies; 3+ messages in thread
From: Jia He @ 2016-12-08  3:29 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: benh, paulus, mpe, aneesh.kumar, mikey, cyrilbur, shreyas,
	linux-kernel, Jia He

Fixes: a4b349540a ("powerpc/mm: Cleanup LPCR defines")
Signed-off-by: Jia He <hejianet@gmail.com>
---
 arch/powerpc/include/asm/reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h
index 9e1499f..93ec25e 100644
--- a/arch/powerpc/include/asm/reg.h
+++ b/arch/powerpc/include/asm/reg.h
@@ -337,7 +337,7 @@
 #define   LPCR_DPFD_SH		52
 #define   LPCR_DPFD		(ASM_CONST(7) << LPCR_DPFD_SH)
 #define   LPCR_VRMASD_SH	47
-#define   LPCR_VRMASD		(ASM_CONST(1) << LPCR_VRMASD_SH)
+#define   LPCR_VRMASD		(ASM_CONST(0x1f) << LPCR_VRMASD_SH)
 #define   LPCR_VRMA_L		ASM_CONST(0x0008000000000000)
 #define   LPCR_VRMA_LP0		ASM_CONST(0x0001000000000000)
 #define   LPCR_VRMA_LP1		ASM_CONST(0x0000800000000000)
-- 
2.5.5

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

end of thread, other threads:[~2016-12-08 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-08  3:29 [PATCH] powerpc: Fix LPCR_VRMASD definition Jia He
2016-12-08  3:51 ` Aneesh Kumar K.V
2016-12-08 21:18 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).