Subject: Re: mmotm 2020-01-21-13-28 uploaded (struct proc_ops)

From: Randy Dunlap <[email-masked]>
Date: Tue, 21 Jan 2020 19:19:22 -0800

On 1/21/20 1:29 PM, [email-masked] wrote:
> The mm-of-the-moment snapshot 2020-01-21-13-28 has been uploaded to
> 
>    http://www.ozlabs.org/~akpm/mmotm/
> 
> mmotm-readme.txt says
> 
> README for mm-of-the-moment:
> 
> http://www.ozlabs.org/~akpm/mmotm/
> 
> This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> more than once a week.

and when CONFIG_PROC_FS is not set/enabled, kernel/sched/psi.c gets:

../kernel/sched/psi.c: In function ‘psi_proc_init’:
../kernel/sched/psi.c:1287:56: error: macro "proc_create" requires 4 arguments, but only 3 given
   proc_create("pressure/cpu", 0, NULL &psi_cpu_proc_ops);
                                                        ^
../kernel/sched/psi.c:1287:3: error: ‘proc_create’ undeclared (first use in this function); did you mean ‘sock_create’?
   proc_create("pressure/cpu", 0, NULL &psi_cpu_proc_ops);
   ^~~~~~~~~~~
   sock_create

-- 
~Randy