Fix a typo in pSeries_lpar_hpte_insert()
PATCH 1/1 Fix a typo in pSeries_lpar_hpte_insert()
Fix a typo in pSeries_lpar_hpte_insert()
Signed-off-by Denis Kirjanov <[email protected]>
--- arch/powerpc/platforms/pseries/lpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/lpar.c +1 -1
@@ -136,7 +136,7 @@ static long pSeries_lpar_hpte_insert(unsigned long hpte_group, flags =0 ;/* Make pHyp happy */ -if ((rflags & _PAGE_NO_CACHE) & !(rflags & _PAGE_WRITETHRU)) +if ((rflags & _PAGE_NO_CACHE) && !(rflags & _PAGE_WRITETHRU)) hpte_r &= ~_PAGE_COHERENT;if (firmware_has_feature (FW_FEATURE_XCMO ) && !(hpte_r &HPTE_R_N )) flags |=H_COALESCE_CAND ;
Signature · 1 line
1.8.0.2
Quoted 3 lines · Denis Kirjanov
Fix a typo in
pSeries_lpar_hpte_insert()Signed-off-by Denis Kirjanov <[email protected]>
looks good
Reviewed-by Aneesh Kumar K.V <[email protected]>
We may want to add the commit that introduced the change ?
801eb73f45371accc78ca9d6d22d647eeb722c11
Quoted 19 lines
--- arch/powerpc/platforms/pseries/lpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/lpar.c +1
-1@@ -136,7 +136,7 @@ static long pSeries_lpar_hpte_insert(unsigned long hpte_group, flags =0 ;/* Make pHyp happy */ -if ((rflags & _PAGE_NO_CACHE) & !(rflags & _PAGE_WRITETHRU)) +if ((rflags & _PAGE_NO_CACHE) && !(rflags & _PAGE_WRITETHRU)) hpte_r &= ~_PAGE_COHERENT;if (firmware_has_feature (FW_FEATURE_XCMO ) && !(hpte_r &HPTE_R_N )) flags |=H_COALESCE_CAND ;Signature · 1 line
1.8.0.2
Quoted 6 lines · Aneesh Kumar K.V
Quoted 3 lines · Denis Kirjanov
Fix a typo in
pSeries_lpar_hpte_insert()Signed-off-by Denis Kirjanov <[email protected]>
Quoted 7 lines
looks good
Reviewed-by Aneesh Kumar K.V <[email protected]>We may want to add the commit that introduced the change ?
801eb73f45371accc78ca9d6d22d647eeb722c11
Yes, as well as describe what the typo is, and what the implications are - ie. what was broken and is now fixed.
cheers