diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-26 17:42:33 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-26 17:42:33 +0100 |
| commit | 9c8cfc2e52b0446f7cab14325028075760869b45 (patch) | |
| tree | b85a0f9403bd38ac7947cdf709de787241509533 /kernel/spinlock.h | |
| parent | 786bd02b01d80e335d4445698d721213a1884ff5 (diff) | |
further cleanup
Diffstat (limited to 'kernel/spinlock.h')
| -rw-r--r-- | kernel/spinlock.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kernel/spinlock.h b/kernel/spinlock.h index 7080490..43cd82f 100644 --- a/kernel/spinlock.h +++ b/kernel/spinlock.h @@ -1,8 +1,11 @@ #ifndef SPINLOCK_H #define SPINLOCK_H -void init_spinlocks(); -volatile void lock_spin(int i); -void lock_release(int i); +#include <stdint.h> + +typedef uint8_t spinlock; + +volatile void lock_spin(spinlock); +void lock_release(spinlock); #endif |
