PERFORCE change 42621 for review

Peter Wemm peter at FreeBSD.org
Sun Nov 16 21:16:40 PST 2003


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

Change 42621 by peter at peter_freefall on 2003/11/16 21:15:55

	more compile fixes

Affected files ...

.. //depot/projects/hammer/sys/ia64/ia64/interrupt.c#10 edit
.. //depot/projects/hammer/sys/sparc64/sparc64/intr_machdep.c#6 edit

Differences ...

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

@@ -312,8 +312,8 @@
 			memset(intrname, ' ', INTRNAME_LEN - 1);
 			bcopy(name, intrname, strlen(name));
 		}
-		errcode = ithread_create(&i->ithd, vector, 0, 0,
-					 ia64_send_eoi, "intr:");
+		errcode = ithread_create(&i->ithd, (void *)(uintptr_t)vector,
+		    0, 0, ia64_send_eoi, "intr:");
 		if (errcode) {
 			free(i, M_DEVBUF);
 			return errcode;

==== //depot/projects/hammer/sys/sparc64/sparc64/intr_machdep.c#6 (text+ko) ====

@@ -261,8 +261,8 @@
 	ithd = iv->iv_ithd;
 	mtx_unlock_spin(&intr_table_lock);
 	if (ithd == NULL) {
-		errcode = ithread_create(&ithd, vec, 0, NULL, NULL, "intr%d:",
-		    vec);
+		errcode = ithread_create(&ithd, (void *)(uintptr_t)vec, 0,
+		    NULL, NULL, "intr%d:", vec);
 		if (errcode)
 			return (errcode);
 		mtx_lock_spin(&intr_table_lock);


More information about the p4-projects mailing list