End the _t nonsense

This commit is contained in:
2026-04-01 09:15:59 +02:00
parent e8a0a36889
commit e9b57f70b1
17 changed files with 59 additions and 59 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
* Saves the RFLAGS register, then acquires a lock.
* Pause instruction is used to ease the CPU.
*/
void spinlock_acquire(struct spinlock_t* lock)
void spinlock_acquire(struct spinlock* lock)
{
uint64_t rflags;
asm volatile("pushfq ; pop %0 ; cli" : "=rm"(rflags) : : "memory");
@@ -36,7 +36,7 @@ void spinlock_acquire(struct spinlock_t* lock)
* unlocks it (clears locked state).
* RFLAGS is then restored.
*/
void spinlock_release(struct spinlock_t* lock)
void spinlock_release(struct spinlock* lock)
{
uint64_t rflags = lock->rflags;
__atomic_clear(&lock->locked, __ATOMIC_RELEASE);