[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <924c0b5b5df9a890b1bc24f70f9aa9a8a5c39d7f.1393493277.git.rashika.kheria@gmail.com>
Date: Thu, 27 Feb 2014 17:47:04 +0530
From: Rashika Kheria <rashika.kheria@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>, Oleg Nesterov <oleg@...hat.com>,
Rashika Kheria <rashika.kheria@...il.com>,
Aaron Tomlin <atomlin@...hat.com>,
Gleb Natapov <gleb@...hat.com>,
Marcelo Tosatti <mtosatti@...hat.com>,
Li Zefan <lizefan@...wei.com>, josh@...htriplett.org
Subject: [PATCH 34/46] kernel: Include appropriate header file in hung_task.c
Include appropriate header file include/linux/sched/sysctl.h in
kernel/hung_task.c because it has function declaration of function
defined in kernel/hung_task.c.
This elimiantes the following warning in kernel/hung_task.c:
kernel/hung_task.c:195:5: warning: no previous prototype for ‘proc_dohung_task_timeout_secs’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@...il.com>
Reviewed-by: Josh Triplett <josh@...htriplett.org>
---
kernel/hung_task.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/hung_task.c b/kernel/hung_task.c
index 0b9c169..2704c36 100644
--- a/kernel/hung_task.c
+++ b/kernel/hung_task.c
@@ -16,6 +16,7 @@
#include <linux/export.h>
#include <linux/sysctl.h>
#include <linux/utsname.h>
+#include <linux/sched/sysctl.h>
#include <trace/events/sched.h>
/*
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists