The patch titled Subject: include/linux/vmpressure.h: use spinlock_t instead of struct spinlock has been added to the -mm tree. Its filename is vmpressure-use-spinlock_t-instead-of-struct-spinlock.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/vmpressure-use-spinlock_t-instead-of-struct-spinlock.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/vmpressure-use-spinlock_t-instead-of-struct-spinlock.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Subject: include/linux/vmpressure.h: use spinlock_t instead of struct spinlock For spinlocks the type spinlock_t should be used instead of "struct spinlock". Use spinlock_t for spinlock's definition. Link: http://lkml.kernel.org/r/20190704153803.12739-3-bigeasy@xxxxxxxxxxxxx Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/vmpressure.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/vmpressure.h~vmpressure-use-spinlock_t-instead-of-struct-spinlock +++ a/include/linux/vmpressure.h @@ -17,7 +17,7 @@ struct vmpressure { unsigned long tree_scanned; unsigned long tree_reclaimed; /* The lock is used to keep the scanned/reclaimed above in sync. */ - struct spinlock sr_lock; + spinlock_t sr_lock; /* The list of vmpressure_event structs. */ struct list_head events; _ Patches currently in -mm which might be from bigeasy@xxxxxxxxxxxxx are vmpressure-use-spinlock_t-instead-of-struct-spinlock.patch