Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 21:16:39 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 42621 for review
Message-ID:  <200311170516.hAH5Gd0q071550@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42621

Change 42621 by peter@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311170516.hAH5Gd0q071550>