From patchwork Thu Apr 21 20:17:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903741 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1D6FCBF29F for ; Thu, 21 Apr 2016 20:16:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D4AF2034E for ; Thu, 21 Apr 2016 20:16:38 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 3F90520303 for ; Thu, 21 Apr 2016 20:16:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A365A6ED95; Thu, 21 Apr 2016 20:16:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) by gabe.freedesktop.org (Postfix) with ESMTPS id 107C16E1B5 for ; Thu, 21 Apr 2016 20:16:22 +0000 (UTC) Received: by mail-wm0-x231.google.com with SMTP id n3so150677117wmn.0 for ; Thu, 21 Apr 2016 13:16:22 -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 :mime-version:content-transfer-encoding; bh=Jfi5aL85rwmPUPHT6EVv4sfqQxLrP9QGETFwxQXpH2A=; b=kE83bwepF6enxBSjZBiUfJB9ucut3XFQdkcHeYWT4BFbvUzNJ6VlVkaWC1Arz+opK9 y0EmB6158/De0PBQvJyE5iChBnPyfgJAk6mSyXP3vbWlqHOjykxe0J82W/xR8KgZYx24 nhQTN0+fFIYbHdG6jWVY1892JtS6261CPBqjmyVhCA6iSC4uOBDujPVK/YCQOBaj5S6C amPrnpAz2qXSHv0DNwQiP/Esg/x0KAt5dAmDVTB5Hk3hrrlN7ll+cs47zrBWU2PJ06FQ 6KGdOOYkvWs2JxcWgY5p+RWzYBJwguWvBNecEsA++Z/cOrqc/T0jkEP+JQFZVf3yT2A1 b/AA== 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:mime-version:content-transfer-encoding; bh=Jfi5aL85rwmPUPHT6EVv4sfqQxLrP9QGETFwxQXpH2A=; b=BSWFnQh/V9XAmuflmC/ns2a8/vyPcUjZKr1N4XV3ZbW36vgrCNSH9wBEOTOPWblKzX eInUZNDy1SbTxZ2ENOu8eseWmBWvs73uVu4F4TJ5YK+/WzVYm6sv+fHlkkY6N4RrzmDu wVSj/PPkuKoY74BVixqsINW2LGiwWegKM1S2wT/LHJc4D868vD5AP9X/rxJXM37/gIwA +WxUTeiyV28D8aw3TNcSa0uCxhYIU85eDR2T5QnjtxHkH23hdIuM/UmQqA64DlxKLv+5 6xCTBssragcZgPR5ZKK8CBD7YCdFvzOuT2fXSwOjMd/3izjDiDqFYvLLWr3pOhGFVegy ugWg== X-Gm-Message-State: AOPr4FVAyE8oO5xxDrMi3MJazZy99jEMETErkfGV2V0MHQm3qxf3U95HyUSwX9VayqX2Nw== X-Received: by 10.28.45.216 with SMTP id t207mr9305069wmt.40.1461269780489; Thu, 21 Apr 2016 13:16:20 -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.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:19 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 01/24] drm/amdgpu: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:14 +0100 Message-Id: <1461269857-12813-2-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> MIME-Version: 1.0 Cc: Alex Deucher , emil.l.velikov@gmail.com, =?UTF-8?q?Christian=20K=C3=B6nig?= 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: , 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: Alex Deucher Cc: Christian König Signed-off-by: Emil Velikov --- include/uapi/drm/amdgpu_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 453a76a..cdecf87 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h @@ -34,6 +34,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_AMDGPU_GEM_CREATE 0x00 #define DRM_AMDGPU_GEM_MMAP 0x01 #define DRM_AMDGPU_CTX 0x02 @@ -642,4 +646,8 @@ struct drm_amdgpu_info_hw_ip { #define AMDGPU_FAMILY_VI 130 /* Iceland, Tonga */ #define AMDGPU_FAMILY_CZ 135 /* Carrizo, Stoney */ +#if defined(__cplusplus) +} +#endif + #endif