Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 13:00:05 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 106396 for review
Message-ID:  <200609201300.k8KD05rN021984@repoman.freebsd.org>

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

Change 106396 by rdivacky@rdivacky_witten on 2006/09/20 12:59:27

	Remove ifdef __i386__ thus enabling this to compile on amd64.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#3 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#3 (text+ko) ====

@@ -109,10 +109,8 @@
 	struct futex *newf;
 	int timeout_hz;
 	struct timeval tv = {0, 0};
-#ifdef __i386__
 	struct futex *f2;
 	int op_ret;
-#endif
 
 #ifdef	DEBUG
 	if (ldebug(sys_futex))
@@ -266,7 +264,6 @@
 		break;
 
 	case LINUX_FUTEX_WAKE_OP:
-#ifdef	__i386__
 		FUTEX_SYSTEM_LOCK;
 #ifdef DEBUG
 		if (ldebug(sys_futex))
@@ -314,9 +311,6 @@
 		td->td_retval[0] = ret;
 
 		FUTEX_SYSTEM_UNLOCK;
-#else
-		printf("linux_sys_futex: wake_op not implemented");
-#endif
 	   	break;
 
 	default:



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