From patchwork Tue Mar 7 20:55:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9609819 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 E8CED602B4 for ; Tue, 7 Mar 2017 20:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3A242853B for ; Tue, 7 Mar 2017 20:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7BF12853D; Tue, 7 Mar 2017 20:59:12 +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 666C92853B for ; Tue, 7 Mar 2017 20:59:12 +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=05umnbiEt9kZMlggHFPaHGYYP7QtHHHXubzPY2wkh9o=; b=ADyITJ7UkR7qEi3c1M7i76V99Q i2i46ojgj1kVQ2112HdVScgRIZMBPqDcaH47tb220wTw/undNOw4rr34lfKkpA9nmS1hJM5F6d38b n+4AsBIBpz8UhxUH6iOEYFtBCm1QnbkuDlIxbOJOEI6fam7VFhV73fWZUNMMT/U52pjy/99c5jvzU fqNhxGQZHiTGSnfT8l5HCBWHsIFVmKq3FKgKzpQzbeZpopgjdJgUQs8pjBUKxlK1hHxuhXPNYTN0Q +QhJKuPd7o+dhtFr1RHz1iYSux6noxSo8clJlCoPjKuhykZTMe+/KUxlZs9a4HpW+bXEqx3X77LEM D+vkFX2A==; 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 1clMCK-00057H-1A; Tue, 07 Mar 2017 20:59:08 +0000 Received: from mail-qk0-f182.google.com ([209.85.220.182]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clM9j-0003AI-Hu for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2017 20:56:30 +0000 Received: by mail-qk0-f182.google.com with SMTP id p64so25617782qke.1 for ; Tue, 07 Mar 2017 12:56:06 -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=x9ucR7ESleh+AdMQyd/5mcW8K0dQJKOs7ZmVIkL3O/s=; b=Nf4EEaBm7a5GqyEEXRx+EXP+uibIUoI8pISVzz6ITVi20yaHTAcY94kTIpHWDGSHUA NwdXJr0B83xve638DosnLVJyW5znLcwF1JB83xgY7/CGADFhuEEBrFk/4NxM3DMf8uiy UXctc5mGLgNfc+TVMVpsGFi6LmbLgiLm4xLHCXhIWd4p8EngKI8yt2deV5EryJZwZbEc ZbOV/9fpUWiQCO/99DjyeM/rLXFhf1YXFEfHIIio0PcV+hxk+erABlTklSRrnGiiLEsb DZMZ2JILzKh8GTPEICr15n+NSrVUZQM2KJ7oXJaGBhXdTngJAARNVLMOlbINyG1pA3Vx 1cQg== X-Gm-Message-State: AFeK/H2IaFF5VvBAUlQRyf7VK3tHiD40lvAoAHYNS5N7sDVWZYXA5Vof7dCq6SQrks6TjNxp X-Received: by 10.55.45.65 with SMTP id t62mr2982265qkh.31.1488920165999; Tue, 07 Mar 2017 12:56:05 -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.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 12:56:04 -0800 (PST) From: Laura Abbott To: David Airlie Subject: [PATCHv3 06/16] agp: Use set_memory.h header Date: Tue, 7 Mar 2017 12:55:23 -0800 Message-Id: <1488920133-27229-7-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_125628_022648_2E2212E7 X-CRM114-Status: GOOD ( 14.57 ) 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 , Alexander Shishkin , 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. Signed-off-by: Laura Abbott --- v3: Added some #ifdef CONFIG_X86 --- drivers/char/agp/amd-k7-agp.c | 1 + drivers/char/agp/ati-agp.c | 1 + drivers/char/agp/generic. | 0 drivers/char/agp/generic.c | 4 +++- drivers/char/agp/intel-gtt.c | 1 + drivers/char/agp/sworks-agp.c | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 drivers/char/agp/generic. diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index 3661a51..5fbd333 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "agp.h" #define AMD_MMBASE_BAR 1 diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index 75a9786..0b5ec7a 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "agp.h" #define ATI_GART_MMBASE_BAR 1 diff --git a/drivers/char/agp/generic. b/drivers/char/agp/generic. new file mode 100644 index 0000000..e69de29 diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index f002fa5..6ca092f 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c @@ -39,7 +39,9 @@ #include #include #include -#include +#ifdef CONFIG_X86 +#include +#endif #include #include "agp.h" diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c index 9702c78f..9776f28 100644 --- a/drivers/char/agp/intel-gtt.c +++ b/drivers/char/agp/intel-gtt.c @@ -25,6 +25,7 @@ #include "agp.h" #include "intel-agp.h" #include +#include /* * If we have Intel graphics, we're not going to have anything other than diff --git a/drivers/char/agp/sworks-agp.c b/drivers/char/agp/sworks-agp.c index 9b163b4..03be4ac 100644 --- a/drivers/char/agp/sworks-agp.c +++ b/drivers/char/agp/sworks-agp.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "agp.h" #define SVWRKS_COMMAND 0x04