From: Ingo Molnar Date: Mon, 26 Nov 2007 20:21:49 +0000 (+0100) Subject: sched: fix RLIMIT_CPU comment X-Git-Tag: v2.6.24-rc4~93^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e1010da3c15e7bdf426b0a3d4b13dba1b7d055;p=linux-2.6 sched: fix RLIMIT_CPU comment Devan Lippman noticed that the RLIMIT_CPU comment in resource.h is incorrect: the field is in seconds, not msecs. We used msecs in earlier versions of the patch but that got changed. Found-by: Devan Lippman Signed-off-by: Ingo Molnar --- diff --git a/include/asm-generic/resource.h b/include/asm-generic/resource.h index cfe3692b23..a4a22cc358 100644 --- a/include/asm-generic/resource.h +++ b/include/asm-generic/resource.h @@ -12,7 +12,7 @@ * then it defines them prior including asm-generic/resource.h. ) */ -#define RLIMIT_CPU 0 /* CPU time in ms */ +#define RLIMIT_CPU 0 /* CPU time in sec */ #define RLIMIT_FSIZE 1 /* Maximum filesize */ #define RLIMIT_DATA 2 /* max data size */ #define RLIMIT_STACK 3 /* max stack size */