[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1387304012-23805-50-git-send-email-luis.henriques@canonical.com>
Date: Tue, 17 Dec 2013 18:12:38 +0000
From: Luis Henriques <luis.henriques@...onical.com>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
kernel-team@...ts.ubuntu.com
Cc: Sergei Trofimovich <slyfox@...too.org>,
Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>,
Al Viro <viro@...iv.linux.org.uk>,
user-mode-linux-devel@...ts.sourceforge.net,
user-mode-linux-user@...ts.sourceforge.net,
Luis Henriques <luis.henriques@...onical.com>
Subject: [PATCH 3.5 049/103] um: add missing declaration of 'getrlimit()' and friends
3.5.7.28 -stable review patch. If anyone has any objections, please let me know.
------------------
From: Sergei Trofimovich <slyfox@...too.org>
commit fdfa4c952844fce881df8c76de9c7180cbe913ab upstream.
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known
arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
Signed-off-by: Sergei Trofimovich <slyfox@...too.org>
CC: Jeff Dike <jdike@...toit.com>
CC: Richard Weinberger <richard@....at>
CC: Al Viro <viro@...iv.linux.org.uk>
CC: user-mode-linux-devel@...ts.sourceforge.net
CC: user-mode-linux-user@...ts.sourceforge.net
CC: linux-kernel@...r.kernel.org
Signed-off-by: Richard Weinberger <richard@....at>
Signed-off-by: Luis Henriques <luis.henriques@...onical.com>
---
arch/um/os-Linux/start_up.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index 425162e..2f53b89 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -15,6 +15,8 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/time.h>
+#include <sys/resource.h>
#include <asm/unistd.h>
#include "init.h"
#include "os.h"
--
1.8.3.2
--
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