diff options
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
| -rw-r--r-- | arch/blackfin/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 2f48f03c634..536bd9d7e0c 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
| @@ -1324,7 +1324,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
| 1324 | static void *c_start(struct seq_file *m, loff_t *pos) | 1324 | static void *c_start(struct seq_file *m, loff_t *pos) |
| 1325 | { | 1325 | { |
| 1326 | if (*pos == 0) | 1326 | if (*pos == 0) |
| 1327 | *pos = first_cpu(cpu_online_map); | 1327 | *pos = cpumask_first(cpu_online_mask); |
| 1328 | if (*pos >= num_online_cpus()) | 1328 | if (*pos >= num_online_cpus()) |
| 1329 | return NULL; | 1329 | return NULL; |
| 1330 | 1330 | ||
| @@ -1333,7 +1333,7 @@ static void *c_start(struct seq_file *m, loff_t *pos) | |||
| 1333 | 1333 | ||
| 1334 | static void *c_next(struct seq_file *m, void *v, loff_t *pos) | 1334 | static void *c_next(struct seq_file *m, void *v, loff_t *pos) |
| 1335 | { | 1335 | { |
| 1336 | *pos = next_cpu(*pos, cpu_online_map); | 1336 | *pos = cpumask_next(*pos, cpu_online_mask); |
| 1337 | 1337 | ||
| 1338 | return c_start(m, pos); | 1338 | return c_start(m, pos); |
| 1339 | } | 1339 | } |
