Commit 34693cb4 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

Rename uffd_listen to cr_lazy_pages

Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 8337e998
...@@ -742,7 +742,7 @@ int main(int argc, char *argv[], char *envp[]) ...@@ -742,7 +742,7 @@ int main(int argc, char *argv[], char *envp[])
} }
if (!strcmp(argv[optind], "lazy-pages")) if (!strcmp(argv[optind], "lazy-pages"))
return uffd_listen() != 0; return cr_lazy_pages() != 0;
if (!strcmp(argv[optind], "check")) if (!strcmp(argv[optind], "check"))
return cr_check() != 0; return cr_check() != 0;
......
...@@ -26,9 +26,9 @@ extern int convert_to_elf(char *elf_path, int fd_core); ...@@ -26,9 +26,9 @@ extern int convert_to_elf(char *elf_path, int fd_core);
extern int cr_check(void); extern int cr_check(void);
extern int cr_dedup(void); extern int cr_dedup(void);
#ifdef CONFIG_HAS_UFFD #ifdef CONFIG_HAS_UFFD
extern int uffd_listen(void); extern int cr_lazy_pages(void);
#else #else
static inline int uffd_listen() { return 0; }; static inline int cr_lazy_pages() { return 0; };
#endif /* CONFIG_HAS_UFFD */ #endif /* CONFIG_HAS_UFFD */
extern int check_add_feature(char *arg); extern int check_add_feature(char *arg);
......
...@@ -638,7 +638,8 @@ out: ...@@ -638,7 +638,8 @@ out:
return ret; return ret;
} }
int uffd_listen()
int cr_lazy_pages()
{ {
int uffd; int uffd;
int uffd_flags; int uffd_flags;
......
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