diff options
author | Will Deacon <[email protected]> | 2019-11-21 11:58:55 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-25 09:15:03 +0100 |
commit | 7221762c48c6bbbcc6cc51d8b803c06930215e34 (patch) | |
tree | 4cd9689dc05038035d0198c86e96afe15e79e425 /tools/perf/util/trace-event-scripting.c | |
parent | 97a1420adf0cdf0cf6f41bab0b2acf658c96b94b (diff) |
locking/refcount: Remove unused refcount_*_checked() variants
The full-fat refcount implementation is exposed via a set of functions
suffixed with "_checked()", the idea being that code can choose to use
the more expensive, yet more secure implementation on a case-by-case
basis.
In reality, this hasn't happened, so with a grand total of zero users,
let's remove the checked variants for now by simply dropping the suffix
and predicating the out-of-line functions on CONFIG_REFCOUNT_FULL=y.
Signed-off-by: Will Deacon <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Tested-by: Hanjun Guo <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Elena Reshetova <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions