Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2156406ybe; Tue, 3 Sep 2019 08:45:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGyqfseKD0ZrkyPTbYlJgWn2k6xsLKyV22IM8+OH/83xjkbZMW6CQZvijkqgUs3RAUGJs1 X-Received: by 2002:a62:2ec7:: with SMTP id u190mr13486766pfu.121.1567525512751; Tue, 03 Sep 2019 08:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567525512; cv=none; d=google.com; s=arc-20160816; b=VQhsvAOrGClRmDXh0R6nA5Pv48MVa/MDgibiABW5DueuC+wajk699thnuQkoc6Rlec uDVn0hnx6n2DF1tg19m+mfYrvWPYiaZvIgFiBTYcHrME+2CCcr35nCn6fvo606Zz37Md XZ8rp6y3Cqmra8WBcGgd6udkaoNkaCgVdSeI6st/tevmLmwJHC85Ju+YvQ5Cv2jxAs0j ogyqw2gNf/dB/8fvpQ4j8kHTC7wliZ8Z1QvOwt0bCSFhnFciBcXkcRMjqEkzNBOsdnGB iOdJwWv44P/n82HKpKB9orOynJc1FV2NVZ4RLMqyWTFq1S9SQV7B5/5+J9pAmpNkAgP1 6USg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4d8V4TQi0zrF+NoYg2SgvpfZ5bWFsizToU10iuyWEbA=; b=YTsbDHAGu9sPzHHl4bSKmsX2CZSEYuYbr0QX27wLEz5moiAIA+zMW4rMufRw1eOqzY 9IdrAO+dAwZuz4/tWjecCn3CwtPy0L891ezfYK2mkiePkO16WGYl615kZ8zF2KG5Kbpy UwNzQSSdGooBF+TxbBmzqmFOU7GqDJP76S8HYZzb7Ho5EBcq5JOjWJ3gh7cLThDJqvyX 1CL4hFK+pkH17XLSpwPllDy981ughopk+o2gTtqyo/uBwAL53Sg96Xx/nsWZusclepI5 tkhnUVlrcAJakMg8K1nnzg+CO+1+/Es5qdeKg6SV5Jw1ppL0/Oxlo1PpDnS99NWtpLWy kpFQ== 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 k12si15080807plt.92.2019.09.03.08.44.56; Tue, 03 Sep 2019 08:45:12 -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 S1729800AbfICPn5 (ORCPT + 99 others); Tue, 3 Sep 2019 11:43:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22285 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729693AbfICPn4 (ORCPT ); Tue, 3 Sep 2019 11:43:56 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 67A53307D88D; Tue, 3 Sep 2019 15:43:56 +0000 (UTC) Received: from flask (unknown [10.43.2.55]) by smtp.corp.redhat.com (Postfix) with SMTP id 475B360461; Tue, 3 Sep 2019 15:43:53 +0000 (UTC) Received: by flask (sSMTP sendmail emulation); Tue, 03 Sep 2019 17:43:52 +0200 From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Borislav Petkov , Dave Hansen , Steven Rostedt , "H. Peter Anvin" , Andy Lutomirski , =?UTF-8?q?Jirka=20Hladk=C3=BD?= , =?UTF-8?q?Ji=C5=99=C3=AD=20Voz=C3=A1r?= , x86@kernel.org Subject: [PATCH 1/2] x86/mm/tlb: include tracepoints from tlb.c instead of mmu_context.h Date: Tue, 3 Sep 2019 17:43:39 +0200 Message-Id: <20190903154340.860299-2-rkrcmar@redhat.com> In-Reply-To: <20190903154340.860299-1-rkrcmar@redhat.com> References: <20190903154340.860299-1-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 03 Sep 2019 15:43:56 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org asm/mmu_context.h is a tree-wide include that will unnecessarily break the build if CREATE_TRACE_POINTS is defined when including it. Signed-off-by: Radim Krčmář --- arch/x86/include/asm/mmu_context.h | 2 -- arch/x86/mm/tlb.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/mmu_context.h b/arch/x86/include/asm/mmu_context.h index 16ae821483c8..e59f230ff981 100644 --- a/arch/x86/include/asm/mmu_context.h +++ b/arch/x86/include/asm/mmu_context.h @@ -7,8 +7,6 @@ #include #include -#include - #include #include #include diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index e6a9edc5baaf..83cd66a0db99 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm/tlb.c @@ -18,6 +18,8 @@ #include "mm_internal.h" +#include + /* * TLB flushing, formerly SMP-only * c/o Linus Torvalds. -- 2.23.0