From patchwork Thu Apr 21 20:17:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903811 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 406BD9F457 for ; Thu, 21 Apr 2016 20:16:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7978B2034C for ; Thu, 21 Apr 2016 20:16:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6C0EF20351 for ; Thu, 21 Apr 2016 20:16:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C35C6EDA4; Thu, 21 Apr 2016 20:16:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6A8D96ED91 for ; Thu, 21 Apr 2016 20:16:29 +0000 (UTC) Received: by mail-wm0-x230.google.com with SMTP id u206so150002625wme.1 for ; Thu, 21 Apr 2016 13:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aneQ8NYne3jMx7yG2eS/L+lGfhrXdP4focwXnSi8q4s=; b=T2Udb+7GAINIt8KNibXHWef1YFQuu/CyhR5ZmESFM7gy1wXzmjvs5x2bE6bibWqHEF Mnm5exlcQM2x3/+K751JLrxtkDdYfZTvUl7jlSRnrUHkovituODE+FJuOGvub08NIZZH /ZUcc2lvvZNLRiE701syMcJqDpatz+pf/cfHXdPE1h89vikUuqRrumLs/hhoFRLskA3q ifNL5qa5C2/0E9CN1lxTKRwp/C16kHIDHbtnpZEdlhEyxAbDE2LIm8XLir5Z6UUPM1eH X2YYrzm0u/bAdXXXwjhKhXGsKFsyA+HuLZP8IrDG2ZhL1it9tZhOR2+fj7DUIVkOoVrO n9Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aneQ8NYne3jMx7yG2eS/L+lGfhrXdP4focwXnSi8q4s=; b=RceAC2dSUGrsM6psgH7VgSrhSvLV7hAvIqPlxKEbyVjkuCSri7OmJG7pjDMCxRB/UU JNNTxMlc2tpnz+O1+1kbBLlj0iyx0PJKKMV3yLVNicQXUonP3ofI+qo+JCySU0gzhGMR un+ldxvMxNWqdD9A8ySLzdVLCQTU6ExaDmREfdAiX+uOE9jfhcRxu/gDaUTKJngAuM6o spcDPjGDddEUYmfein1maJFCYnLr69XejNpt8hWiD2us02YDhCR5ueCbKzCCMLjWCOjm 3xFXRZ4Rpe5dt4u2E95F9LnHW/ec8fhE72PyPeebzvN/CeSIWgqwUvNhHU1N+KMzB7Im Ok6A== X-Gm-Message-State: AOPr4FU1TdpkkC9a2ZiVCpAE8L/ymiqb6MX5jdtvT188rcfKabXt6r58t+5oPdqaja+h/Q== X-Received: by 10.194.111.229 with SMTP id il5mr18785970wjb.82.1461269787874; Thu, 21 Apr 2016 13:16:27 -0700 (PDT) Received: from arch-laptop.localdomain (cpc98192-croy26-2-0-cust395.19-2.cable.virginm.net. [82.32.159.140]) by smtp.gmail.com with ESMTPSA id ry15sm4486004wjb.19.2016.04.21.13.16.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:27 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 09/24] drm/msm: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:22 +0100 Message-Id: <1461269857-12813-10-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> References: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: Rob Clark Signed-off-by: Emil Velikov --- include/uapi/drm/msm_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h index 254d3e9..bf19d2c 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h @@ -20,6 +20,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* Please note that modifications to all structs defined here are * subject to backwards-compatibility constraints: * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit @@ -217,4 +221,8 @@ struct drm_msm_wait_fence { #define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit) #define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence) +#if defined(__cplusplus) +} +#endif + #endif /* __MSM_DRM_H__ */