mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Linux 2.6.36 compat, wrap RLIM64_INFINITY
As of linux-2.6.36 RLIM64_INFINITY is defined in linux/resource.h. This is handled by conditionally defining RLIM64_INFINITY in the SPL only when the kernel does not provide it.
This commit is contained in:
parent
1e18307b61
commit
a50cede388
@ -83,8 +83,9 @@
|
|||||||
#define _NOTE(x)
|
#define _NOTE(x)
|
||||||
#define is_system_labeled() 0
|
#define is_system_labeled() 0
|
||||||
|
|
||||||
|
#ifndef RLIM64_INFINITY
|
||||||
#define RLIM64_INFINITY RLIM_INFINITY
|
#define RLIM64_INFINITY (~0ULL)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* 0..MAX_PRIO-1: Process priority
|
/* 0..MAX_PRIO-1: Process priority
|
||||||
* 0..MAX_RT_PRIO-1: RT priority tasks
|
* 0..MAX_RT_PRIO-1: RT priority tasks
|
||||||
|
Loading…
Reference in New Issue
Block a user