Fix libcutils build.
Change-Id: I4df2065f60f5363877809161298c1f9718252934
(cherry picked from commit 8a8953bb3d)
This commit is contained in:
parent
3bbe09a8c6
commit
919bb66f73
1 changed files with 2 additions and 0 deletions
|
|
@ -60,9 +60,11 @@ static int __sys_supports_schedgroups = -1;
|
||||||
static int bg_cgroup_fd = -1;
|
static int bg_cgroup_fd = -1;
|
||||||
static int fg_cgroup_fd = -1;
|
static int fg_cgroup_fd = -1;
|
||||||
|
|
||||||
|
#ifdef USE_CPUSETS
|
||||||
// File descriptors open to /dev/cpuset/../tasks, setup by initialize, or -1 on error
|
// File descriptors open to /dev/cpuset/../tasks, setup by initialize, or -1 on error
|
||||||
static int bg_cpuset_fd = -1;
|
static int bg_cpuset_fd = -1;
|
||||||
static int fg_cpuset_fd = -1;
|
static int fg_cpuset_fd = -1;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Add tid to the scheduling group defined by the policy */
|
/* Add tid to the scheduling group defined by the policy */
|
||||||
static int add_tid_to_cgroup(int tid, int fd)
|
static int add_tid_to_cgroup(int tid, int fd)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue