]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
make David happy
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Jul 2011 10:15:03 +0000 (20:15 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 27 Jul 2011 03:26:58 +0000 (13:26 +1000)
Cc: David Rientjes <rientjes@google.com>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/cpuset.c

index 31c860bd828cdcbf792063a28a4eb879db3ce119..f8bc977ccbbe1fb171ed5d15327eb73aa1a652ab 100644 (file)
@@ -2470,8 +2470,8 @@ int cpuset_mem_spread_node(void)
 int cpuset_slab_spread_node(void)
 {
        if (current->cpuset_slab_spread_rotor == NUMA_NO_NODE)
-               current->cpuset_slab_spread_rotor
-                       node_random(&current->mems_allowed);
+               current->cpuset_slab_spread_rotor =
+                       node_random(&current->mems_allowed);
 
        return cpuset_spread_node(&current->cpuset_slab_spread_rotor);
 }