diff options
Diffstat (limited to 'drivers/char/sysrq.c')
-rw-r--r-- | drivers/char/sysrq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index de60e1ea4fb3..1ade193c9128 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c | |||
@@ -271,8 +271,7 @@ static struct sysrq_key_op sysrq_term_op = { | |||
271 | 271 | ||
272 | static void moom_callback(struct work_struct *ignored) | 272 | static void moom_callback(struct work_struct *ignored) |
273 | { | 273 | { |
274 | out_of_memory(&NODE_DATA(0)->node_zonelists[ZONE_NORMAL], | 274 | out_of_memory(node_zonelist(0, GFP_KERNEL), GFP_KERNEL, 0); |
275 | GFP_KERNEL, 0); | ||
276 | } | 275 | } |
277 | 276 | ||
278 | static DECLARE_WORK(moom_work, moom_callback); | 277 | static DECLARE_WORK(moom_work, moom_callback); |