aboutsummaryrefslogtreecommitdiff
path: root/chopstx.h
diff options
context:
space:
mode:
Diffstat (limited to 'chopstx.h')
-rw-r--r--chopstx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chopstx.h b/chopstx.h
index 6ab9b87..83c9999 100644
--- a/chopstx.h
+++ b/chopstx.h
@@ -77,8 +77,9 @@ void chopstx_cond_signal (chopstx_cond_t *cond);
void chopstx_cond_broadcast (chopstx_cond_t *cond);
typedef struct chx_intr {
- struct chx_thread *t;
+ struct chx_intr *next;
struct chx_spinlock lock;
+ struct chx_thread *t;
uint8_t irq_num;
uint8_t ready;
} chopstix_intr_t;