From patchwork Tue Mar 7 20:55:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9609823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 85A31602B4 for ; Tue, 7 Mar 2017 21:00:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 524012853B for ; Tue, 7 Mar 2017 21:00:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 466072853D; Tue, 7 Mar 2017 21:00:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D9D982853B for ; Tue, 7 Mar 2017 21:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=aAw8bjjhmwPYrSi5JPZBlG0CfuMm4J3YE3XtRVw/Ww0=; b=ML4VjJGjG6mVfFA5qKsqQZyhHZ pP4RM1Oh/xR6OtYTE7lS5dqaiAqAlrZJuiD8J4lPwLPZb1uAoxtv0Ntbcm714Z9ZtQPdTmr3Y3rKg rxrmCTcO6KEutlPBIZNKlVmhkOPdX6gZ1igMH4Wc3KyNNS5ga61rGUk3ib9s5zE6fSJgnT1Sex4S/ FK/UvHRlRwDwxOLnLi1hHOgNJNcZA4dxfeiStLQ5Us2e9+5yiX8ei5xBlM1jbRpon0lfI6LYQYw13 Xe71UY6uZYWrWVDL2NhbFyLl6Ikm+No0EzCAM8Sf6nsAuBlo7GRAN/XQ1W947HrK++OOcDGYV/N0D tCI3SIzA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clMDM-0007Aw-42; Tue, 07 Mar 2017 21:00:12 +0000 Received: from mail-qk0-f169.google.com ([209.85.220.169]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clM9s-0003Db-BU for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2017 20:56:40 +0000 Received: by mail-qk0-f169.google.com with SMTP id p64so25624868qke.1 for ; Tue, 07 Mar 2017 12:56:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yc3cXTh1bHJ726VGIAQQPtTOD2uPUTdt4HbIG+eb+FI=; b=H8k6VniFaiVG3KHhDNFUsR9Rdn2dXKLFLAYKFzX90SU+Q+N3la5enUW6YJEdcPktnO o0gSygL9jRQFXfnvY3I1LLf0vsS4U7wyokppfeBLgnt+XnA18ym3zecMEwFCgGZm2wN5 IPeftydTOAnor7qjXR816EcHro+vWMmVjHnsrMUF1YQ07ej3EYxRZPpyUp+/Qcc0DMuF 6I6YpzXXSiEKXf1D0M805WbCu7JT2b1B6+h2twcphToy68ghEZ5In2aykllh5/DfeEbG 45SinQ/2EHqB60W1t0AkKGHEEUoUCvKI+CvxSFL5cgp5dl0T52ujLr5KB44fhZ3tcXY8 u/Jw== X-Gm-Message-State: AMke39kP7DYkE1P8O7xsk/I7R/n3oCm1ADWIgn1qGnzVXTieqbDmmTC+VAIeNl6eDa2QSvni X-Received: by 10.200.55.57 with SMTP id o54mr3272298qtb.78.1488920174700; Tue, 07 Mar 2017 12:56:14 -0800 (PST) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc::5ce7]) by smtp.gmail.com with ESMTPSA id z196sm764343qkb.11.2017.03.07.12.56.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 12:56:13 -0800 (PST) From: Laura Abbott To: Alexander Shishkin Subject: [PATCHv3 08/16] intel_th: Use set_memory.h header Date: Tue, 7 Mar 2017 12:55:25 -0800 Message-Id: <1488920133-27229-9-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488920133-27229-1-git-send-email-labbott@redhat.com> References: <1488920133-27229-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170307_125636_890001_C233B97D X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Airlie , Catalin Marinas , Heiko Carstens , Takashi Iwai , Wim Van Sebroeck , "H. Peter Anvin" , linux-watchdog@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, Jessica Yu , Daniel Borkmann , x86@kernel.org, Russell King , Ingo Molnar , Laura Abbott , Guenter Roeck , Kees Cook , Arnd Bergmann , Will Deacon , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Schwidefsky , Andrew Morton , "David S. Miller" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP set_memory_* functions have moved to set_memory.h. Switch to this explicitly. Acked-by: Alexander Shishkin Signed-off-by: Laura Abbott --- v3: Add #ifdef CONFIG_X86 --- drivers/hwtracing/intel_th/msu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/hwtracing/intel_th/msu.c b/drivers/hwtracing/intel_th/msu.c index e88afe1..dbbe31d 100644 --- a/drivers/hwtracing/intel_th/msu.c +++ b/drivers/hwtracing/intel_th/msu.c @@ -27,7 +27,9 @@ #include #include -#include +#ifdef CONFIG_X86 +#include +#endif #include "intel_th.h" #include "msu.h"