-
- Downloads
locking/refcount: Consolidate implementations of refcount_t
The generic implementation of refcount_t should be good enough for everybody, so remove ARCH_HAS_REFCOUNT and REFCOUNT_FULL entirely, leaving the generic implementation enabled unconditionally. Signed-off-by:Will Deacon <will@kernel.org> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org> Acked-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-9-will@kernel.org Signed-off-by:
Ingo Molnar <mingo@kernel.org>
Showing
- arch/Kconfig 0 additions, 21 deletionsarch/Kconfig
- arch/arm/Kconfig 0 additions, 1 deletionarch/arm/Kconfig
- arch/arm64/Kconfig 0 additions, 1 deletionarch/arm64/Kconfig
- arch/s390/configs/debug_defconfig 0 additions, 1 deletionarch/s390/configs/debug_defconfig
- arch/x86/Kconfig 0 additions, 1 deletionarch/x86/Kconfig
- arch/x86/include/asm/asm.h 0 additions, 6 deletionsarch/x86/include/asm/asm.h
- arch/x86/include/asm/refcount.h 0 additions, 126 deletionsarch/x86/include/asm/refcount.h
- arch/x86/mm/extable.c 0 additions, 49 deletionsarch/x86/mm/extable.c
- drivers/gpu/drm/i915/Kconfig.debug 0 additions, 1 deletiondrivers/gpu/drm/i915/Kconfig.debug
- include/linux/refcount.h 58 additions, 100 deletionsinclude/linux/refcount.h
- lib/refcount.c 1 addition, 1 deletionlib/refcount.c
Loading
Please register or sign in to comment