diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 12:13:56 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 12:13:56 -0400 |
commit | e758936e02700ff88a0b08b722a3847b95283ef2 (patch) | |
tree | 50c919bef1b459a778b85159d5929de95b6c4a01 /arch/mips/include/asm/resource.h | |
parent | 239cfbde1f5843c4a24199f117d5f67f637d72d5 (diff) | |
parent | 4480f15b3306f43bbb0310d461142b4e897ca45b (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
include/asm-x86/statfs.h
Diffstat (limited to 'arch/mips/include/asm/resource.h')
-rw-r--r-- | arch/mips/include/asm/resource.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/mips/include/asm/resource.h b/arch/mips/include/asm/resource.h new file mode 100644 index 000000000000..87cb3085269c --- /dev/null +++ b/arch/mips/include/asm/resource.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 1995, 96, 98, 99, 2000 by Ralf Baechle | ||
7 | * Copyright (C) 1999 Silicon Graphics, Inc. | ||
8 | */ | ||
9 | #ifndef _ASM_RESOURCE_H | ||
10 | #define _ASM_RESOURCE_H | ||
11 | |||
12 | |||
13 | /* | ||
14 | * These five resource limit IDs have a MIPS/Linux-specific ordering, | ||
15 | * the rest comes from the generic header: | ||
16 | */ | ||
17 | #define RLIMIT_NOFILE 5 /* max number of open files */ | ||
18 | #define RLIMIT_AS 6 /* address space limit */ | ||
19 | #define RLIMIT_RSS 7 /* max resident set size */ | ||
20 | #define RLIMIT_NPROC 8 /* max number of processes */ | ||
21 | #define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */ | ||
22 | |||
23 | /* | ||
24 | * SuS says limits have to be unsigned. | ||
25 | * Which makes a ton more sense anyway, | ||
26 | * but we keep the old value on MIPS32, | ||
27 | * for compatibility: | ||
28 | */ | ||
29 | #ifdef CONFIG_32BIT | ||
30 | # define RLIM_INFINITY 0x7fffffffUL | ||
31 | #endif | ||
32 | |||
33 | #include <asm-generic/resource.h> | ||
34 | |||
35 | #endif /* _ASM_RESOURCE_H */ | ||