diff options
Diffstat (limited to 'drivers/char/mspec.c')
-rw-r--r-- | drivers/char/mspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mspec.c b/drivers/char/mspec.c index 04ac155d3a07..82f2e27dca7d 100644 --- a/drivers/char/mspec.c +++ b/drivers/char/mspec.c | |||
@@ -362,7 +362,7 @@ mspec_init(void) | |||
362 | is_sn2 = 1; | 362 | is_sn2 = 1; |
363 | if (is_shub2()) { | 363 | if (is_shub2()) { |
364 | ret = -ENOMEM; | 364 | ret = -ENOMEM; |
365 | for_each_online_node(nid) { | 365 | for_each_node_state(nid, N_ONLINE) { |
366 | int actual_nid; | 366 | int actual_nid; |
367 | int nasid; | 367 | int nasid; |
368 | unsigned long phys; | 368 | unsigned long phys; |