Re: [PATCH 1/2] watch_queue: make locked_vm accessible

2019-09-06 Thread Jens Axboe
On 9/6/19 9:32 AM, Arnd Bergmann wrote: > The locked_vm member of struct user_struct is guarded by an #ifdef, > which breaks building the new watch_queue driver when all the other > subsystems that need it are disabled: > > drivers/misc/watch_queue.c:315:38: error: no member named 'locked_vm' in

[PATCH 1/2] watch_queue: make locked_vm accessible

2019-09-06 Thread Arnd Bergmann
The locked_vm member of struct user_struct is guarded by an #ifdef, which breaks building the new watch_queue driver when all the other subsystems that need it are disabled: drivers/misc/watch_queue.c:315:38: error: no member named 'locked_vm' in 'struct user_struct'; did you mean 'locked_shm'?