From patchwork Sat Nov 10 05:06:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Yao X-Patchwork-Id: 1724531 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id A19173FC8A for ; Sat, 10 Nov 2012 16:50:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A6409E904 for ; Sat, 10 Nov 2012 08:50:24 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by gabe.freedesktop.org (Postfix) with ESMTP id 13FB89E70A for ; Fri, 9 Nov 2012 21:09:40 -0800 (PST) Received: from localhost.localdomain (pool-173-77-245-118.nycmny.fios.verizon.net [173.77.245.118]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ryao) by smtp.gentoo.org (Postfix) with ESMTPSA id 0765833D8FB; Sat, 10 Nov 2012 05:09:38 +0000 (UTC) From: Richard Yao To: intel-gfx@lists.freedesktop.org Date: Sat, 10 Nov 2012 00:06:54 -0500 Message-Id: <1352524014-10141-1-git-send-email-ryao@gentoo.org> X-Mailer: git-send-email 1.7.8.6 X-Mailman-Approved-At: Sat, 10 Nov 2012 08:49:44 -0800 Cc: gentoo-bsd@lists.gentoo.org, David Shao Subject: [Intel-gfx] [PATCH] intel: Fix missing ETIME on BSD operating systems X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From: David Shao Originally posted to Free Desktop bug #52549 by David Shao. Resolves Gentoo Bug #433403. Commit message by Richard Yao. Reviewed-by: Richard Yao Reviewed-by: Kenneth Graunke --- intel/intel_bufmgr_gem.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 8d45839..512bc6f 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -54,6 +54,9 @@ #include #include "errno.h" +#ifndef ETIME +#define ETIME ETIMEDOUT +#endif #include "libdrm_lists.h" #include "intel_bufmgr.h" #include "intel_bufmgr_priv.h"