mutex: Fix up mutex_waiter usage
authorPeter Zijlstra <peterz@infradead.org>
Thu, 8 Aug 2019 06:47:14 +0000 (08:47 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 8 Aug 2019 07:09:25 +0000 (09:09 +0200)
commite57d143091f1c0b1a98140a4d2e63e113afb62c0
tree1100b05a0b77cb5f9b91baa2b412b6940076b106
parenta037d269221c0ae15f47046757afcbd1a7177bbf
mutex: Fix up mutex_waiter usage

The patch moving bits into mutex.c was a little too much; by also
moving struct mutex_waiter a few less common CONFIGs would no longer
build.

Fixes: 5f35d5a66b3e ("locking/mutex: Make __mutex_owner static to mutex.c")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
include/linux/mutex.h
kernel/locking/mutex.c
kernel/locking/mutex.h