[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240227124412.2565716-1-fei2.wu@intel.com>
Date: Tue, 27 Feb 2024 20:44:12 +0800
From: Fei Wu <fei2.wu@...el.com>
To: paul.walmsley@...ive.com,
palmer@...belt.com,
aou@...s.berkeley.edu,
guoren@...nel.org,
jszhang@...nel.org,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Cc: Fei Wu <fei2.wu@...el.com>
Subject: [PATCH] riscv: Fix definition of _PAGE_NOCACHE_THEAD
_PAGE_NOCACHE_THEAD is not used but the definition is wrong.
Signed-off-by: Fei Wu <fei2.wu@...el.com>
---
arch/riscv/include/asm/pgtable-64.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/include/asm/pgtable-64.h b/arch/riscv/include/asm/pgtable-64.h
index b42017d76924..b99bd66107a6 100644
--- a/arch/riscv/include/asm/pgtable-64.h
+++ b/arch/riscv/include/asm/pgtable-64.h
@@ -136,7 +136,7 @@ enum napot_cont_order {
* 10010 - IO Strongly-ordered, Non-cacheable, Non-bufferable, Shareable, Non-trustable
*/
#define _PAGE_PMA_THEAD ((1UL << 62) | (1UL << 61) | (1UL << 60))
-#define _PAGE_NOCACHE_THEAD ((1UL < 61) | (1UL << 60))
+#define _PAGE_NOCACHE_THEAD ((1UL << 61) | (1UL << 60))
#define _PAGE_IO_THEAD ((1UL << 63) | (1UL << 60))
#define _PAGE_MTMASK_THEAD (_PAGE_PMA_THEAD | _PAGE_IO_THEAD | (1UL << 59))
--
2.34.1
Powered by blists - more mailing lists