diff options
author | Will Deacon | 2019-11-21 11:58:59 +0000 |
---|---|---|
committer | Ingo Molnar | 2019-11-25 09:15:27 +0100 |
commit | 65b008552469f1c37f5e06e0016924502e40b4f5 (patch) | |
tree | 858e161c85c9a6825f2a9d1376a45dd824a9dbac /arch/x86/mm/extable.c | |
parent | 1eb085d94256aaa69b00cf5a86e3c5f5bb2bc460 (diff) |
locking/refcount: Consolidate REFCOUNT_{MAX,SATURATED} definitions
The definitions of REFCOUNT_MAX and REFCOUNT_SATURATED are the same,
regardless of CONFIG_REFCOUNT_FULL, so consolidate them into a single
pair of definitions.
Signed-off-by: Will Deacon <will@kernel.org>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Hanjun Guo <guohanjun@huawei.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20191121115902.2551-8-will@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm/extable.c')
0 files changed, 0 insertions, 0 deletions