summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2007-10-18 12:06:04 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 23:37:24 +0200
commitdedf8b79ec06e91fa87f6cba99e6e61b4140ceca (patch)
tree2f47e112aa2bb2baf973ccbcf072be50c9d9aed7 /kernel/cpuset.c
parentwhitespace fixes: process accounting (diff)
downloadlinux-dedf8b79ec06e91fa87f6cba99e6e61b4140ceca.tar.xz
linux-dedf8b79ec06e91fa87f6cba99e6e61b4140ceca.zip
whitespace fixes: cpuset
Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r--kernel/cpuset.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 2eb2e50db0d6..64950fa5d321 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2431,12 +2431,12 @@ int __cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask)
node = zone_to_nid(z);
if (node_isset(node, current->mems_allowed))
return 1;
- /*
- * Allow tasks that have access to memory reserves because they have
- * been OOM killed to get memory anywhere.
- */
- if (unlikely(test_thread_flag(TIF_MEMDIE)))
- return 1;
+ /*
+ * Allow tasks that have access to memory reserves because they have
+ * been OOM killed to get memory anywhere.
+ */
+ if (unlikely(test_thread_flag(TIF_MEMDIE)))
+ return 1;
return 0;
}