PERFORCE change 42604 for review

Peter Wemm peter at FreeBSD.org
Sun Nov 16 16:53:07 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42604

Change 42604 by peter at peter_overcee on 2003/11/16 16:52:22

	update ia64 for ithread_create API

Affected files ...

.. //depot/projects/hammer/sys/ia64/ia64/interrupt.c#9 edit

Differences ...

==== //depot/projects/hammer/sys/ia64/ia64/interrupt.c#9 (text+ko) ====

@@ -263,8 +263,9 @@
 SYSINIT(ithds_init, SI_SUB_INTR, SI_ORDER_SECOND, ithds_init, NULL);
 
 static void
-ia64_send_eoi(int vector)
+ia64_send_eoi(void *cookie)
 {
+	int vector = (uintptr_t)cookie;
 	int irq, i;
 
 	irq = vector - IA64_HARDWARE_IRQ_BASE;
@@ -376,7 +377,7 @@
 	if ((ih->ih_flags & IH_FAST) != 0) {
 		critical_enter();
 		ih->ih_handler(ih->ih_argument);
-		ia64_send_eoi(vector);
+		ia64_send_eoi((void *)(uintptr_t)vector);
 		critical_exit();
 		return;
 	}


More information about the p4-projects mailing list