diff options
Diffstat (limited to 'firmware/export/kernel.h')
| -rw-r--r-- | firmware/export/kernel.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index 982ecf2..90a2163 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h @@ -159,15 +159,6 @@ struct mutex unsigned char locked; /* locked semaphore */ }; -#if NUM_CORES > 1 -struct spinlock -{ - struct thread_entry *thread; /* lock owner */ - int count; /* lock owner recursion count */ - struct corelock cl; /* multiprocessor sync */ -}; -#endif - #ifdef HAVE_SEMAPHORE_OBJECTS struct semaphore { @@ -284,11 +275,6 @@ extern void mutex_unlock(struct mutex *m); static inline void mutex_set_preempt(struct mutex *m, bool preempt) { m->no_preempt = !preempt; } #endif -#if NUM_CORES > 1 -extern void spinlock_init(struct spinlock *l); -extern void spinlock_lock(struct spinlock *l); -extern void spinlock_unlock(struct spinlock *l); -#endif #ifdef HAVE_SEMAPHORE_OBJECTS extern void semaphore_init(struct semaphore *s, int max, int start); extern void semaphore_wait(struct semaphore *s); |