Skip to content

Commit

Permalink
Fixup plic stop work, interrupt broken.
Browse files Browse the repository at this point in the history
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
  • Loading branch information
guoren83 committed Feb 29, 2024
1 parent f6e5a91 commit dfa4b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/riscv/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ typedef struct page *pgtable_t;
* We override this value as its generic definition uses __pa too early in
* the boot process (before kernel_map.va_pa_offset is set).
*/
#define MIN_MEMBLOCK_ADDR 0
#define MIN_MEMBLOCK_ADDR 0x200000
#endif

#ifdef CONFIG_MMU
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static inline unsigned long pte_pfn(pte_t pte)
#define pte_page(x) pfn_to_page(pte_pfn(x))

/* Constructs a page table entry */
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
static inline pte_t pfn_pte(xlen_t pfn, pgprot_t prot)
{
ptval_t prot_val = pgprot_val(prot);

Expand Down

0 comments on commit dfa4b86

Please sign in to comment.