aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-12-13 22:23:39 +0000
committerWarner Losh <imp@FreeBSD.org>2024-12-13 23:04:40 +0000
commit7bcf5319c1106b761bcb2a4facfeccf1b9db758d (patch)
tree873d5c84ad4d25fac0c655842c33ffd9905783b0
parent7fdf597e96a02165cfe22ff357b857d5fa15ed8a (diff)
jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH
In the import of 5.2.1 (c5ad81420c495), JEMALLOC_FALLTHROUGH was changed to break (judging by the tagged upstream sources). This changes it back to upstream. No functional change: this is just a textual change (though the fallthrough macro doesn't expand to break). Sponsored by: Netflix
-rw-r--r--contrib/jemalloc/include/jemalloc/internal/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/jemalloc/include/jemalloc/internal/hash.h b/contrib/jemalloc/include/jemalloc/internal/hash.h
index 935ddcfc95a1..0270034e876d 100644
--- a/contrib/jemalloc/include/jemalloc/internal/hash.h
+++ b/contrib/jemalloc/include/jemalloc/internal/hash.h
@@ -199,7 +199,7 @@ hash_x86_128(const void *key, const int len, uint32_t seed,
case 2: k1 ^= tail[ 1] << 8; JEMALLOC_FALLTHROUGH
case 1: k1 ^= tail[ 0] << 0;
k1 *= c1; k1 = hash_rotl_32(k1, 15); k1 *= c2; h1 ^= k1;
- break;
+ JEMALLOC_FALLTHROUGH
}
}