[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1481167770-7042-1-git-send-email-hejianet@gmail.com>
Date: Thu, 8 Dec 2016 11:29:30 +0800
From: Jia He <hejianet@...il.com>
To: linuxppc-dev@...ts.ozlabs.org
Cc: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
aneesh.kumar@...ux.vnet.ibm.com, mikey@...ling.org,
cyrilbur@...il.com, shreyas@...ux.vnet.ibm.com,
linux-kernel@...r.kernel.org, Jia He <hejianet@...il.com>
Subject: [PATCH] powerpc: Fix LPCR_VRMASD definition
Fixes: a4b349540a ("powerpc/mm: Cleanup LPCR defines")
Signed-off-by: Jia He <hejianet@...il.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
Powered by blists - more mailing lists