diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-26 23:17:55 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-26 23:17:55 +0100 |
| commit | 7393db6692c861bc66164c0dd9b83f23a554775b (patch) | |
| tree | d60c9deb33630d5fb6117c7c1bbc098e62a66f28 /kernel/spinlock.h | |
| parent | 9c8cfc2e52b0446f7cab14325028075760869b45 (diff) | |
changes, improvements and cleanup
Diffstat (limited to 'kernel/spinlock.h')
| -rw-r--r-- | kernel/spinlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/spinlock.h b/kernel/spinlock.h index 43cd82f..40d9194 100644 --- a/kernel/spinlock.h +++ b/kernel/spinlock.h @@ -3,9 +3,9 @@ #include <stdint.h> -typedef uint8_t spinlock; +typedef volatile uint8_t spinlock; -volatile void lock_spin(spinlock); +void lock_spin(spinlock); void lock_release(spinlock); #endif |
