Building parisc:allnoconfig ... failed -------------- Error log: arch/parisc/kernel/processor.c: In function 'show_cpuinfo': arch/parisc/kernel/processor.c:443:30: error: 'cpuinfo' undeclared (first use in this function) 443 | cpuinfo->loops_per_jiffy / (500000 / HZ),
Caused by 'parisc: Fix /proc/cpuinfo output for lscpu' which moves the declaration of cpuinfo inside an #ifdef but still uses it outside of it in v5.10.y and older.
That either needs to be dropped, adjusted, or commit 93346da8ff47 ("parisc: Drop loops_per_jiffy from per_cpu struct") needs to be applied as well (tested with v5.10.y.queue).
Guenter
On Sun, Sep 17, 2023 at 07:58:11AM -0700, Guenter Roeck wrote:
Building parisc:allnoconfig ... failed
Error log: arch/parisc/kernel/processor.c: In function 'show_cpuinfo': arch/parisc/kernel/processor.c:443:30: error: 'cpuinfo' undeclared (first use in this function) 443 | cpuinfo->loops_per_jiffy / (500000 / HZ),
Caused by 'parisc: Fix /proc/cpuinfo output for lscpu' which moves the declaration of cpuinfo inside an #ifdef but still uses it outside of it in v5.10.y and older.
That either needs to be dropped, adjusted, or commit 93346da8ff47 ("parisc: Drop loops_per_jiffy from per_cpu struct") needs to be applied as well (tested with v5.10.y.queue).
Thanks, I've added this patch now to the queues.
greg k-h
linux-stable-mirror@lists.linaro.org