]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/mips/include/uapi/asm/resource.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / mips / include / uapi / asm / resource.h
CommitLineData
e2be04c7 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1da177e4
LT
2/*
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1995, 96, 98, 99, 2000 by Ralf Baechle
8 * Copyright (C) 1999 Silicon Graphics, Inc.
9 */
10#ifndef _ASM_RESOURCE_H
11#define _ASM_RESOURCE_H
12
1da177e4
LT
13
14/*
15 * These five resource limit IDs have a MIPS/Linux-specific ordering,
16 * the rest comes from the generic header:
17 */
18#define RLIMIT_NOFILE 5 /* max number of open files */
19#define RLIMIT_AS 6 /* address space limit */
20#define RLIMIT_RSS 7 /* max resident set size */
21#define RLIMIT_NPROC 8 /* max number of processes */
22#define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */
23
24/*
25 * SuS says limits have to be unsigned.
26 * Which makes a ton more sense anyway,
27 * but we keep the old value on MIPS32,
28 * for compatibility:
29 */
f746caa3 30#ifndef __mips64
1da177e4
LT
31# define RLIM_INFINITY 0x7fffffffUL
32#endif
33
34#include <asm-generic/resource.h>
35
36#endif /* _ASM_RESOURCE_H */