diff options
Diffstat (limited to 'arch/i386/mach-default')
-rw-r--r-- | arch/i386/mach-default/topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/mach-default/topology.c b/arch/i386/mach-default/topology.c index 23395fff35d1..b64314069e78 100644 --- a/arch/i386/mach-default/topology.c +++ b/arch/i386/mach-default/topology.c | |||
@@ -76,7 +76,7 @@ static int __init topology_init(void) | |||
76 | for_each_online_node(i) | 76 | for_each_online_node(i) |
77 | arch_register_node(i); | 77 | arch_register_node(i); |
78 | 78 | ||
79 | for_each_cpu(i) | 79 | for_each_present_cpu(i) |
80 | arch_register_cpu(i); | 80 | arch_register_cpu(i); |
81 | return 0; | 81 | return 0; |
82 | } | 82 | } |
@@ -87,7 +87,7 @@ static int __init topology_init(void) | |||
87 | { | 87 | { |
88 | int i; | 88 | int i; |
89 | 89 | ||
90 | for_each_cpu(i) | 90 | for_each_present_cpu(i) |
91 | arch_register_cpu(i); | 91 | arch_register_cpu(i); |
92 | return 0; | 92 | return 0; |
93 | } | 93 | } |