summaryrefslogtreecommitdiff
path: root/include/linux/refcount.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-01 15:09:00 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-12-03 13:20:52 +0300
commitb6498aad59b091e5618a9f05e7636e2ad2c6732d (patch)
treec2f5fbf69e255475a913b46a36b052b1b8d7e424 /include/linux/refcount.h
parent79f3b4372b74f03ba25784f7f2e4b0c90e3aef47 (diff)
downloadlinux-b6498aad59b091e5618a9f05e7636e2ad2c6732d.tar.xz
completion: Drop init_completion define
Changeset cd8084f91c02 ("locking/lockdep: Apply crossrelease to completions") added a CONFIG_LOCKDEP_COMPLETE (that was later renamed to CONFIG_LOCKDEP_COMPLETIONS). Such changeset renamed the init_completion, and add a macro that would either run a modified version or the original code. However, such code reported too many false positives. So, it ended being dropped later on by changeset e966eaeeb623 ("locking/lockdep: Remove the cross-release locking checks"). Yet, the define remained there as just: #define init_completion(x) __init_completion(x) Get rid of the define, and return __init_completion() function to its original name. Fixes: e966eaeeb623 ("locking/lockdep: Remove the cross-release locking checks") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/e657bfc533545c185b1c3c55926a449ead56a88b.1606823973.git.mchehab+huawei@kernel.org
Diffstat (limited to 'include/linux/refcount.h')
0 files changed, 0 insertions, 0 deletions