Changes in kernel/generic/src/adt/cht.c [04552324:1023758] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/cht.c
r04552324 r1023758 526 526 ASSERT(op && op->hash && op->key_hash && op->equal && op->key_equal); 527 527 /* Memoized hashes are stored in the rcu_link.func function pointer. */ 528 ASSERT(sizeof(size_t) == sizeof(rcu_func_t));528 STATIC_ASSERT(sizeof(size_t) == sizeof(rcu_func_t)); 529 529 ASSERT(sentinel.hash == (uintptr_t)sentinel.rcu_link.func); 530 530 … … 1311 1311 } 1312 1312 } else { 1313 ASSERT(N_JOIN == N_JOIN_FOLLOWS);1313 STATIC_ASSERT(N_JOIN == N_JOIN_FOLLOWS); 1314 1314 1315 1315 /* Keep the N_JOIN/N_JOIN_FOLLOWS mark but strip N_DELETED. */
Note:
See TracChangeset
for help on using the changeset viewer.