summaryrefslogtreecommitdiffstats
path: root/include/linux/resource.h
diff options
context:
space:
mode:
authorBarret Rhoden <brho@google.com>2022-01-06 12:20:40 -0500
committerEric W. Biederman <ebiederm@xmission.com>2022-03-08 14:33:36 -0600
commitc57bef0287dd5deeabaea5727950559fb9037cd9 (patch)
tree8401f64ace8e167a54eb48647627a220eb0a1c28 /include/linux/resource.h
parentffb217a13a2eaf6d5bd974fc83036a53ca69f1e2 (diff)
downloadlinux-c57bef0287dd5deeabaea5727950559fb9037cd9.tar.gz
linux-c57bef0287dd5deeabaea5727950559fb9037cd9.tar.bz2
linux-c57bef0287dd5deeabaea5727950559fb9037cd9.zip
prlimit: make do_prlimit() static
There are no other callers in the kernel. Fixed up a comment format and whitespace issue when moving do_prlimit() higher in sys.c. Signed-off-by: Barret Rhoden <brho@google.com> Link: https://lkml.kernel.org/r/20220106172041.522167-3-brho@google.com Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/resource.h')
-rw-r--r--include/linux/resource.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/resource.h b/include/linux/resource.h
index bdf491cbcab7..4fdbc0c3f315 100644
--- a/include/linux/resource.h
+++ b/include/linux/resource.h
@@ -8,7 +8,5 @@
struct task_struct;
void getrusage(struct task_struct *p, int who, struct rusage *ru);
-int do_prlimit(struct task_struct *tsk, unsigned int resource,
- struct rlimit *new_rlim, struct rlimit *old_rlim);
#endif