Date: Tue, 5 Mar 2013 16:14:56 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r247848 - head/sys/dev/drm2/ttm Message-ID: <201303051614.r25GEumU039045@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Mar 5 16:14:55 2013 New Revision: 247848 URL: http://svnweb.freebsd.org/changeset/base/247848 Log: Fix build with gcc, remove redundand declarations. Reported and tested by: gjb MFC after: 1 month Modified: head/sys/dev/drm2/ttm/ttm_lock.h Modified: head/sys/dev/drm2/ttm/ttm_lock.h ============================================================================== --- head/sys/dev/drm2/ttm/ttm_lock.h Tue Mar 5 16:04:15 2013 (r247847) +++ head/sys/dev/drm2/ttm/ttm_lock.h Tue Mar 5 16:14:55 2013 (r247848) @@ -125,27 +125,6 @@ extern int ttm_read_lock(struct ttm_lock extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible); /** - * ttm_write_unlock - * - * @lock: Pointer to a struct ttm_lock - * - * Releases a write lock. - */ -extern void ttm_write_unlock(struct ttm_lock *lock); - -/** - * ttm_write_lock - * - * @lock: Pointer to a struct ttm_lock - * @interruptible: Interruptible sleeping while waiting for a lock. - * - * Takes the lock in write mode. - * Returns: - * -ERESTARTSYS If interrupted by a signal and interruptible is true. - */ -extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible); - -/** * ttm_lock_downgrade * * @lock: Pointer to a struct ttm_lock
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303051614.r25GEumU039045>