Unverified Commit a38e978d authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14460 sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

parents 51b16375 a9b629f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)

static void *c_start(struct seq_file *m, loff_t *pos)
{
	return *pos < NR_CPUS ? cpu_data + *pos : NULL;
	return *pos < nr_cpu_ids ? cpu_data + *pos : NULL;
}
static void *c_next(struct seq_file *m, void *v, loff_t *pos)
{