Received: by 10.213.65.68 with SMTP id h4csp1741926imn; Sun, 1 Apr 2018 13:44:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+OS7ZIiKVYJV4PsMRDQ35xEmVZt+8lFofqpbFudwBQxKqgRB+4OuZhSII6yujdXLBW4soF X-Received: by 10.98.204.214 with SMTP id j83mr5460034pfk.182.1522615465068; Sun, 01 Apr 2018 13:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522615465; cv=none; d=google.com; s=arc-20160816; b=HQO4yj93H7b9O6vH70s3RUa3QCGua9Dw7SZ+rsUfGe518M3U7t5pMNonXdyoqhdOLG JZ6G292DUmiprzOQQoxMPTzD4cVEDGt9BGqyz1GlVSxk0sZwHPXK1srd0J1bAYVIIbzG 1969l6HJhEEm6kjSE4k4JQKR0yJhV8eAINMR6YbS5wTurZTqhslbTFdL4MTY0VKpWp1b NvogNnxkIHtsA2tu2vIib6Jv/QQ3Z0jFuN/+hlnC70FAIr9oHlMyFnQiliIIdb57jSYc aBmL0Tm4AfBrEIUXNFIow9MTshg6akyxJsHuC4Xg9Lpy3mAtAxQO3Z/HLYM9x8Cuf7Pe fl9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:to:from:subject :organization:arc-authentication-results; bh=YIGNm982BU5pAFlMDK48k+HnIzqrF7aBQF6B/4FNzqA=; b=XNdOmWfISkTakMBdLQY3H8E4EiryFPFPHmp97shFsZ0psjw4UPWuEIyQj6TMxzcIRo T/yMA9yQWEx8WdNHivxBJB69k6JXv3FUJsv6Uoei9heJFz7LsqdPphEiwq2gmm/xpTRn lNFvOEw+wC5iVIX2Fb6ZxuvMeymp5+eJ+HjeNaWclNcCycyhdQSyxgiyKxtPDEL8aZt0 c+Fi6G5IhTkQje4O8hst2+gBZE2mPoiTqeT2JPAHuvMYSFW3vLVQ7XVPOIB72VFT9XE9 2CeBMW88H43kuYH5KYAp+1SUv/3qI3GWW/ZhjSPsjUF1o2uXV2QRP6mgG7lKHwh11i5d OlLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si13022408pld.529.2018.04.01.13.44.11; Sun, 01 Apr 2018 13:44:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754491AbeDAUnB (ORCPT + 99 others); Sun, 1 Apr 2018 16:43:01 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42186 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753918AbeDAUm7 (ORCPT ); Sun, 1 Apr 2018 16:42:59 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B77944023141 for ; Sun, 1 Apr 2018 20:42:58 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-59.rdu2.redhat.com [10.10.120.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 672152166BC7; Sun, 1 Apr 2018 20:42:58 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 27/45] C++: Disable __same_type() for the moment From: David Howells To: linux-kernel@vger.kernel.org Date: Sun, 01 Apr 2018 21:42:57 +0100 Message-ID: <152261537790.30503.11036840023392668385.stgit@warthog.procyon.org.uk> In-Reply-To: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> References: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Sun, 01 Apr 2018 20:42:58 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Sun, 01 Apr 2018 20:42:58 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: David Howells --- include/linux/compiler_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index 6b79a9bba9a7..7858c827c100 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -263,7 +263,7 @@ struct ftrace_likely_data { /* Are two types/vars the same type (ignoring qualifiers)? */ #ifndef __same_type -# define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) +# define __same_type(a, b) true // not in C++ __builtin_types_compatible_p(typeof(a), typeof(b)) #endif /* Is this type a native word size -- useful for atomic operations */