From a872883f815fb6f9e75b647cc4ae2a7b6ca8f23b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 23 Aug 2011 03:06:44 +0200 Subject: rename intr.h constants --- libddekit/interrupt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libddekit/interrupt.c') 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. */ -- cgit v1.2.3