Skip to content

Commit 559fe94

Browse files
Song Shuaipalmer-dabbelt
authored andcommitted
riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
Since the commit 011f09d set sv57 as default for CONFIG_64BIT, the comment of CONFIG_PAGE_OFFSET should be updated too. Fixes: 011f09d ("riscv: mm: Set sv57 on defaultly") Signed-off-by: Song Shuai <suagrfillet@gmail.com> Link: https://lore.kernel.org/r/20230809031023.3575407-1-songshuaishuai@tinylab.org Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent dd16ac4 commit 559fe94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/riscv/include/asm/page.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
#define PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL)
3434
#endif
3535
/*
36-
* By default, CONFIG_PAGE_OFFSET value corresponds to SV48 address space so
37-
* define the PAGE_OFFSET value for SV39.
36+
* By default, CONFIG_PAGE_OFFSET value corresponds to SV57 address space so
37+
* define the PAGE_OFFSET value for SV48 and SV39.
3838
*/
3939
#define PAGE_OFFSET_L4 _AC(0xffffaf8000000000, UL)
4040
#define PAGE_OFFSET_L3 _AC(0xffffffd800000000, UL)

0 commit comments

Comments
 (0)