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

!14500 sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK

parents 69e7e417 a0d0ded2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,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)
{