summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_map.c6
-rw-r--r--vm/vm_page.c5
2 files changed, 7 insertions, 4 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 67a24c27..dac3bc02 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -702,10 +702,12 @@ vm_map_init(struct vm_map *map, struct pmap *pmap,
#ifdef CONFIG_SHELL
static void
-vm_map_shell_info(int argc, char **argv)
+vm_map_shell_info(struct shell *shell, int argc, char **argv)
{
const struct task *task;
+ (void)shell;
+
if (argc < 2) {
goto error;
} else {
@@ -733,7 +735,7 @@ static struct shell_cmd vm_map_shell_cmds[] = {
static int __init
vm_map_setup_shell(void)
{
- SHELL_REGISTER_CMDS(vm_map_shell_cmds);
+ SHELL_REGISTER_CMDS(vm_map_shell_cmds, shell_get_main_cmd_set());
return 0;
}
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;
}