powerpc: Fix LPCR_VRMASD definition
PATCH 1/1 powerpc: Fix LPCR_VRMASD definition
Fixes a4b349540a ("powerpc/mm: Cleanup LPCR defines")
Signed-off-by Jia He <[email protected]>
--- arch/powerpc/include/asm/reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/include/asm/reg.h +1 -1
@@ -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)
Signature · 1 line
2.5.5
Quoted 2 lines · Jia He
Fixes a4b349540a ("powerpc/mm: Cleanup LPCR defines")Signed-off-by Jia He <[email protected]>
I sent another one https://lkml.kernel.org/r/[email protected]
to fix the same issue. I didn't notice this on the list.
Quoted 19 lines
--- arch/powerpc/include/asm/reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/include/asm/reg.h +1
-1@@ -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)Signature · 1 line
2.5.5
Quoted 2 lines · Jia He
Fixes a4b349540a ("powerpc/mm: Cleanup LPCR defines")Signed-off-by Jia He <[email protected]>
Acked-by Paul Mackerras <[email protected]>