Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 17:00:37 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 133419 for review
Message-ID:  <200801161700.m0GH0bx4079367@repoman.freebsd.org>

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

Change 133419 by hselasky@hselasky_laptop001 on 2008/01/16 17:00:25

	
	Compile fix for FreeBSD 6.x.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_port.h#25 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_port.h#25 (text+ko) ====

@@ -202,6 +202,9 @@
 #define	usb_thread_create(f, s, p, ...) \
 		kthread_create((f), (s), (p), RFHIGHPID, 0, __VA_ARGS__)
 #define	usb_thread_exit(err)	kthread_exit(err)
+#endif
+
+#if (__FreeBSD_version < 700000)
 #define	thread_lock(td) mtx_lock_spin(&sched_lock)
 #define	thread_unlock(td) mtx_unlock_spin(&sched_lock)
 #endif



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