[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <lsq.1388282924.562737677@decadent.org.uk>
Date: Sun, 29 Dec 2013 03:08:44 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
CC: akpm@...ux-foundation.org,
user-mode-linux-user@...ts.sourceforge.net,
"Jeff Dike" <jdike@...toit.com>,
"Richard Weinberger" <richard@....at>,
"Sergei Trofimovich" <slyfox@...too.org>,
"Al Viro" <viro@...iv.linux.org.uk>,
user-mode-linux-devel@...ts.sourceforge.net
Subject: [PATCH 3.2 148/185] um: add missing declaration of 'getrlimit()'
and friends
3.2.54-rc1 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: Ben Hutchings <ben@...adent.org.uk>
---
arch/um/os-Linux/start_up.c | 2 ++
1 file changed, 2 insertions(+)
--- 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"
--
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