nova: remove nova_die from spin_lock

Issue #5443
This commit is contained in:
Alexander Boettcher 2025-02-05 12:56:22 +01:00 committed by Christian Helmuth
parent d7edb5bef7
commit daf2c2940c

View File

@ -40,10 +40,6 @@ static inline void spinlock_lock(volatile T *lock_variable)
unsigned help_counter = 0;
/* sanity check that ec_sel fits into the lock_variable */
if (tid >= (1 << (sizeof(*lock_variable) * 8 - RESERVED_BITS)))
nova_die();
if (myself) {
Nova::Utcb * utcb = reinterpret_cast<Nova::Utcb *>(myself->utcb());
help_counter = utcb->tls & COUNTER_MASK;