From b135fef80cf8f9addf5725881a2fe81cda404dfe Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sun, 11 Jun 2017 11:27:32 +0200 Subject: Make the diagnostics shell optional --- kern/task.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kern/task.c') diff --git a/kern/task.c b/kern/task.c index d9c9f115..a5281994 100644 --- a/kern/task.c +++ b/kern/task.c @@ -64,6 +64,8 @@ task_init(struct task *task, const char *name, struct vm_map *map) strlcpy(task->name, name, sizeof(task->name)); } +#ifdef X15_SHELL + static void task_shell_info(int argc, char *argv[]) { @@ -97,6 +99,8 @@ static struct shell_cmd task_shell_cmds[] = { "print tasks and threads"), }; +#endif /* X15_SHELL */ + void __init task_setup(void) { -- cgit v1.2.3