PERFORCE change 106396 for review

Roman Divacky rdivacky at FreeBSD.org
Wed Sep 20 06:00:46 PDT 2006


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

Change 106396 by rdivacky at 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:


More information about the p4-projects mailing list