Received: by 10.213.65.68 with SMTP id h4csp1742343imn; Sun, 1 Apr 2018 13:45:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx49wGQ5rm4VpBYXT+ZsB57W5ZFWnrmf384HnptokZxEk8EjT/d9tJiR8kjJjK9puQiEmLjqi X-Received: by 2002:a17:902:1e3:: with SMTP id b90-v6mr7353279plb.155.1522615514559; Sun, 01 Apr 2018 13:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522615514; cv=none; d=google.com; s=arc-20160816; b=VvYw+FzsjlHwFhWoFVl2K3LNZDKMbVS9H9ZeUzPmexi1u1kZq/PqTQEL99BACqZhiY s1OANd4lWWknCDePXccvou8pluQPvRD6NNVGWWNIbcN1Vmpv4lMvG6MZppzErR8jC8yo Rg41KYw/9WP5SbBHqusbkdojpdxDCJlG4YnzuZv9rjbyCKL0u58uUBf76oDjqsblyPzf bKVs+rGYaDzoLG/iUrlepPYwt8e898kkC72qe5BMiXTf5X95615MU73w/mV8ZBCN3ggw kS29PHbw0aNq0Eqh6wtfeMCkpp8A6lKGXtYoUs3pWv3CRxeG6J7WFHZH0usz2g20GspZ qyqA== 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=Cd3AY27ibWNnncGMsZluSXOoPd4Op60NttgjkJStiOE=; b=b5rePk1MhEkXzdMfYGf+X6t70A9NQiO6eVmL3cEWJbkrHji8QLwT//aXzzJhRMvq0i iwD27rjK551s2HyXuZHNGruIGuusD40qWqmbFf6kAyr6KH3is4IY/p0oJ/yENIVDgaiY wbWtm1HgIqfURQmfrkOgoMtMyFTgcZMArij0bmbsF29dFH97W53kocl0Rl9S25L3IOSz MdflYuIoTkIWGT7dhK9pHLfLr2yD950QeflYDMQvvrpsQ0OC0qzEbQvON1A3ioOq+1Lo J7XyJMKgvrHKLkgzwukco7dUVQlTg8S0PNfFz3jUqBjrndhWn3siNw80rAiXSH3rp7G+ l6/A== 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 d21-v6si11274795plr.664.2018.04.01.13.45.00; Sun, 01 Apr 2018 13:45:14 -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 S1754414AbeDAUmc (ORCPT + 99 others); Sun, 1 Apr 2018 16:42:32 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:52996 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754401AbeDAUm3 (ORCPT ); Sun, 1 Apr 2018 16:42:29 -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 962A0722DD for ; Sun, 1 Apr 2018 20:42:28 +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 46BCB215CDAC; Sun, 1 Apr 2018 20:42:28 +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 22/45] C++: Define apic_intr_mode after the enum definition, not before From: David Howells To: linux-kernel@vger.kernel.org Date: Sun, 01 Apr 2018 21:42:27 +0100 Message-ID: <152261534776.30503.8538178003485154810.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.2]); Sun, 01 Apr 2018 20:42:28 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sun, 01 Apr 2018 20:42:28 +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 Define apic_intr_mode after the enum definition, not before, otherwise an error results. Signed-off-by: David Howells --- arch/x86/include/asm/apic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index 98722773391d..c8eef5e6c46c 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h @@ -53,7 +53,6 @@ extern int local_apic_timer_c2_ok; extern int disable_apic; extern unsigned int lapic_timer_frequency; -extern enum apic_intr_mode_id apic_intr_mode; enum apic_intr_mode_id { APIC_PIC, APIC_VIRTUAL_WIRE, @@ -61,6 +60,7 @@ enum apic_intr_mode_id { APIC_SYMMETRIC_IO, APIC_SYMMETRIC_IO_NO_ROUTING }; +extern enum apic_intr_mode_id apic_intr_mode; #ifdef CONFIG_SMP extern void __inquire_remote_apic(int apicid);