From 1d575adf4dfa3347ab8d3a337ecdd0bc0e4a565f Mon Sep 17 00:00:00 2001 From: Paul Jackson Date: Fri, 24 Mar 2006 03:16:00 -0800 Subject: [PATCH] --- yaml --- r: 23413 b: refs/heads/master c: 7b5b9ef0e17d52c188fe73ea78e884fe67079e6c h: refs/heads/master i: 23411: 7b494535a6ac0299669fefeb086771874a24e416 v: v3 --- [refs] | 2 +- trunk/kernel/cpuset.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 4c5bc9c19f4f..81ca01f2bdd7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0b1303fcf23678ee1785841fb0c770a35cd0833c +refs/heads/master: 7b5b9ef0e17d52c188fe73ea78e884fe67079e6c diff --git a/trunk/kernel/cpuset.c b/trunk/kernel/cpuset.c index c86ee051b734..9f28e1f00185 100644 --- a/trunk/kernel/cpuset.c +++ b/trunk/kernel/cpuset.c @@ -114,27 +114,27 @@ typedef enum { /* convenient tests for these bits */ static inline int is_cpu_exclusive(const struct cpuset *cs) { - return !!test_bit(CS_CPU_EXCLUSIVE, &cs->flags); + return test_bit(CS_CPU_EXCLUSIVE, &cs->flags); } static inline int is_mem_exclusive(const struct cpuset *cs) { - return !!test_bit(CS_MEM_EXCLUSIVE, &cs->flags); + return test_bit(CS_MEM_EXCLUSIVE, &cs->flags); } static inline int is_removed(const struct cpuset *cs) { - return !!test_bit(CS_REMOVED, &cs->flags); + return test_bit(CS_REMOVED, &cs->flags); } static inline int notify_on_release(const struct cpuset *cs) { - return !!test_bit(CS_NOTIFY_ON_RELEASE, &cs->flags); + return test_bit(CS_NOTIFY_ON_RELEASE, &cs->flags); } static inline int is_memory_migrate(const struct cpuset *cs) { - return !!test_bit(CS_MEMORY_MIGRATE, &cs->flags); + return test_bit(CS_MEMORY_MIGRATE, &cs->flags); } /*