Remove the unused non-atomic local_t and local_64t functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | alpha: Remove the unused non-atomic local_t functionsarch/ | +0 | 0 replies | |
| 2/7 | loongarch: Remove the unused non-atomic local_t functionsarch/ | +0 | 0 replies | |
| 3/7 | mips: Remove the unused non-atomic local_t functionsarch/ | +0 | 0 replies | |
| 4/7 | powerpc: Remove the unused non-atomic local_t functionsarch/ | +0 | 0 replies | |
| 5/7 | x86: Remove the unused non-atomic local_t functionsarch/ | +0 | 0 replies | |
| 6/7 | asm-generic: Remove the unused non-atomic local_t functionsinclude/ | +0 | 0 replies | |
| 7/7 | asm-generic: Remove the unused non-atomic local64_t functionsinclude/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Remove the unused non-atomic local_t and local_64t functions
While working on a fix for a tracing soft lockup , it came to my attention that __local_dec() was broken on ppc64 and other arches (it actually increment the value). My first instinct was to fix it but the fact that this function was utterly broken for so long, decades for some arches makes me thing that those functions have not been used for a long time, if ever.
At any rate, they're not used now, so it's probably better to remove them.
The local64_t don't have broken arch specific versions, but aren't used either, so remove them too.
Jerome Marchand (7):
alpha: Remove the unused non-atomic local_t functions
loongarch: Remove the unused non-atomic local_t functions
mips: Remove the unused non-atomic local_t functions
powerpc: Remove the unused non-atomic local_t functions
x86: Remove the unused non-atomic local_t functions
asm-generic: Remove the unused non-atomic local_t functions
asm-generic: Remove the unused non-atomic local64_t functions
arch/alpha/include/asm/local.h | 6 ------ arch/loongarch/include/asm/local.h | 10 ---------- arch/mips/include/asm/local.h | 10 ---------- arch/powerpc/include/asm/local.h | 10 ---------- arch/x86/include/asm/local.h | 9 --------- include/asm-generic/local.h | 7 ------- include/asm-generic/local64.h | 14 -------------- 7 files changed, 66 deletions(-)
Signature · 1 line
2.56.0