summaryrefslogtreecommitdiff
path: root/vm/vm_page.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-07-25 01:16:24 +0200
committerRichard Braun <rbraun@sceen.net>2018-07-25 01:16:24 +0200
commitd3e43f5bfda0bdad7a829a7ed8c1272a395b196b (patch)
tree897e7851a995f243afdfa5999d786541781f56a9 /vm/vm_page.c
parent3a175471f4246c429e89460ab42cd6640427532a (diff)
kern/{fmt,shell}: update from upstream
The shell module has been "objectified" and now supports multiple instances with shareable command sets.
Diffstat (limited to 'vm/vm_page.c')
-rw-r--r--vm/vm_page.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vm/vm_page.c b/vm/vm_page.c
index 38cc8af0..beccfabd 100644
--- a/vm/vm_page.c
+++ b/vm/vm_page.c
@@ -668,8 +668,9 @@ vm_page_info(void)
}
static void
-vm_page_shell_info(int argc, char **argv)
+vm_page_shell_info(struct shell *shell, int argc, char **argv)
{
+ (void)shell;
(void)argc;
(void)argv;
vm_page_info();
@@ -684,7 +685,7 @@ static struct shell_cmd vm_page_shell_cmds[] = {
static int __init
vm_page_setup_shell(void)
{
- SHELL_REGISTER_CMDS(vm_page_shell_cmds);
+ SHELL_REGISTER_CMDS(vm_page_shell_cmds, shell_get_main_cmd_set());
return 0;
}