]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - arch/x86/mm/dump_pagetables.c
mm: ptdump: expand type of 'val' in note_page()
[thirdparty/linux.git] / arch / x86 / mm / dump_pagetables.c
index 33093fdedb02d28602f2f634338adc16dea7eee6..ea9010113f69d921ed5e8428d5cefb06c06623db 100644 (file)
@@ -273,7 +273,7 @@ static void effective_prot(struct ptdump_state *pt_st, int level, u64 val)
  * print what we collected so far.
  */
 static void note_page(struct ptdump_state *pt_st, unsigned long addr, int level,
-                     unsigned long val)
+                     u64 val)
 {
        struct pg_state *st = container_of(pt_st, struct pg_state, ptdump);
        pgprotval_t new_prot, new_eff;