]> Pileus Git - ~andy/linux/blobdiff - drivers/tty/sysrq.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[~andy/linux] / drivers / tty / sysrq.c
index 16ee6cee07da6b3ba904dea07127f41d98c65133..b3c4a250ff86c6ad71b0e91de5cf02892a9d62a2 100644 (file)
@@ -346,7 +346,8 @@ static struct sysrq_key_op sysrq_term_op = {
 
 static void moom_callback(struct work_struct *ignored)
 {
-       out_of_memory(node_zonelist(0, GFP_KERNEL), GFP_KERNEL, 0, NULL, true);
+       out_of_memory(node_zonelist(first_online_node, GFP_KERNEL), GFP_KERNEL,
+                     0, NULL, true);
 }
 
 static DECLARE_WORK(moom_work, moom_callback);