2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

mem: Fix zero_page_pfn type

It is compared to u64, so should be such as well

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2014-01-31 00:08:47 +04:00
parent f9c8e3a2cd
commit a90613cf9d
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ extern int tcp_max_wshare;
extern int tcp_max_rshare; extern int tcp_max_rshare;
extern int kern_last_cap; extern int kern_last_cap;
extern unsigned long zero_page_pfn; extern u64 zero_page_pfn;
#endif /* __CR_KERNDAT_H__ */ #endif /* __CR_KERNDAT_H__ */

View File

@ -154,7 +154,7 @@ out:
} }
/* The page frame number (PFN) is constant for the zero page */ /* The page frame number (PFN) is constant for the zero page */
unsigned long zero_page_pfn; u64 zero_page_pfn;
static int init_zero_page_pfn() static int init_zero_page_pfn()
{ {