diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-23 03:06:44 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-23 03:06:44 +0200 |
commit | a872883f815fb6f9e75b647cc4ae2a7b6ca8f23b (patch) | |
tree | 56bcf11c5c3901c98aa8e1c774eefdac03d31967 /libddekit/interrupt.c | |
parent | b9a3510bd830ed5c273347cf87080574a636fa8e (diff) |
rename intr.h constants
Diffstat (limited to 'libddekit/interrupt.c')
-rw-r--r-- | libddekit/interrupt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libddekit/interrupt.c b/libddekit/interrupt.c index 8085043c..94228d81 100644 --- a/libddekit/interrupt.c +++ b/libddekit/interrupt.c @@ -27,7 +27,7 @@ #define BLOCK_IRQ 0 -#define MACH_NOTIFY_IRQ 100 +#define MACH_INTR_NOTIFY 100 typedef struct { @@ -132,7 +132,7 @@ static void intloop(void *arg) mach_intr_notification_t *intr_header = (mach_irq_notification_t *) inp; ((mig_reply_header_t *) outp)->RetCode = MIG_NO_REPLY; - if (inp->msgh_id != MACH_NOTIFY_IRQ) + if (inp->msgh_id != MACH_INTR_NOTIFY) return 0; /* It's an interrupt not for us. It shouldn't happen. */ |