Commit a90613cf authored by Pavel Emelyanov's avatar Pavel Emelyanov

mem: Fix zero_page_pfn type

It is compared to u64, so should be such as well
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f9c8e3a2
...@@ -19,6 +19,6 @@ extern int tcp_max_wshare; ...@@ -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__ */
...@@ -154,7 +154,7 @@ out: ...@@ -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()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment