mcctrl, mexec: fix a bunch of warnings

This commit is contained in:
Balazs Gerofi
2017-09-04 08:53:32 +09:00
parent 90fbfd6f7d
commit 99ca46663b
3 changed files with 6 additions and 0 deletions

View File

@ -1715,6 +1715,7 @@ out:
return error;
}
#ifdef SC_DEBUG
#ifdef MCCTRL_KSYM_walk_page_range
static void
(*mcctrl_walk_page_range)(unsigned long addr, unsigned long end, struct mm_walk *walk)
@ -1748,6 +1749,7 @@ static int mywalk(pte_t *pte, unsigned long addr, unsigned long next, struct mm_
}
return 0;
}
#endif
static long pager_req_mlock_list(ihk_os_t os, unsigned long start,
unsigned long end, void *addr, int nent)