Message ID | 1536061533-16188-2-git-send-email-will.deacon@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C0DA1112B for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 4 Sep 2018 11:45:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABEC429264 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 4 Sep 2018 11:45:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F7CD2926A; Tue, 4 Sep 2018 11:45:26 +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=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75D9029264 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 4 Sep 2018 11:45:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C1DD56B6D4E; Tue, 4 Sep 2018 07:45:21 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id BB7BA6B6D54; Tue, 4 Sep 2018 07:45:21 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 927426B6D50; Tue, 4 Sep 2018 07:45:21 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-oi0-f72.google.com (mail-oi0-f72.google.com [209.85.218.72]) by kanga.kvack.org (Postfix) with ESMTP id 628326B6D4F for <linux-mm@kvack.org>; Tue, 4 Sep 2018 07:45:21 -0400 (EDT) Received: by mail-oi0-f72.google.com with SMTP id u74-v6so3799064oie.16 for <linux-mm@kvack.org>; Tue, 04 Sep 2018 04:45:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=E/NRrP7bddD+/+YjR+u1jL6AsGXChDge17/FW4JEhcE=; b=TnyiUmH/3sA7sadtZOt7KYgNEh3vekuAidIie2ZpBHvrOLf6DKKvMV4j3R0tqL4psU nNjkpqibNB0BhbXqb85fmE8yn3FeexxwmUasPAawCFvmUnbNHSJvAGdA+P16PsodC1NZ EQHxedsDUsCiIqs0shXkQ7LuOTPWtffYBu8WYj8taEkoeWY51a/Z/lvdm1zYlLvf4Hke VY31mmaNy8bOaOrT6t9rSl6EcEP2e4e97wDdrl7qa3l1CM6BBI9Yx7kFEJjYZ+Q2fNEZ 6HUTtGCQzSYyXsLbSmgNYosidMzoNY6B3UOkLOArN92NRUrSJU5JckPUxpGO3WpB2OZJ IhUQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of will.deacon@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=will.deacon@arm.com X-Gm-Message-State: APzg51BVkKCg9am8fOez4HeaS/gy2wb00ZCaPvWCyqpEv9jKAqFBxwVx rLDmBEedGmfE187PzNwKbShhX7dTehAglwQTxQ0mEWPBEb2Hh+BINvTQo787sLnwKwU6J/8YGVO R0LXE4pCQ1lPEty8uFtoAgNiKEyQ2h9TfmKaund9xhD3oR+3sZ61+dJdozlY1u7TfMg== X-Received: by 2002:aca:6942:: with SMTP id e63-v6mr25775565oic.48.1536061521075; Tue, 04 Sep 2018 04:45:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaVaItzo1OxeslXFSDgnDr9KGD9h+HofXbRwFKcLe4zKidg3UUiMhQ6xBwlqTNsD1bCTbXr X-Received: by 2002:aca:6942:: with SMTP id e63-v6mr25775510oic.48.1536061520405; Tue, 04 Sep 2018 04:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536061520; cv=none; d=google.com; s=arc-20160816; b=Pu7nk8LirSk4VLs+ZTyj8zAMNu7VBL8AJyWpJ9vvD56iat+gZCaC8S4KiOHZuzw9BW nRCD+Hn+lbq+vJR4GtZYXhu0ecgtqmzCrmO6GY+i6tkSyWjaSHQtt0caS7VphCAxcJLt eZunCrmlIsKxZj8MshoUx/EG7NuOwokQvp8rhM9YR0Wwnip61aNKqzzoY6kAd5l8Q7Ib /+YLfQh0u3FoTL6pGjTZsKgB2aLgvQjcrLK6u+cH+DdC+2LTOCmkqSDnDyN51Bl+m9wo Z/qlC9sGIPzRLn/bbDCMo/kuf4Ji/00B3PQZ/ss1ZzmLlEiKSZZIBJTNfPQuNOEKBT/T ZnsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=E/NRrP7bddD+/+YjR+u1jL6AsGXChDge17/FW4JEhcE=; b=elDr6KzV8RhC4+CMBBKs6iD/rGln72DHFncqw6j2apQeyYdHlI7En3Up49Aybi+lSi CIIJZCanFMsT1axd/+jPUaaywR5VU7OkiS5uLEl2a6KR/R8BQSIzb1B9gBlIcovk5pAU Pbg6OaBUuynEuz5FNZDaqOw5pL2VclcIVdhNZGWLrQJ7Oc2oeukrw6aAKyTQLEG/b9PK zomoKRX59FB84krHtvvkBgKS65Z3nh+Pj5mJsHLkFSwS8gLrCMasK4G0PdGZgPJCjOs9 dSYejDf3Yqs2AWUZwCOW2ZEBF90eovlbPA6l1fW1Mw69Ko2IS11FMyFL8F81bnYUCa/y 4AvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of will.deacon@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=will.deacon@arm.com Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com. [217.140.101.70]) by mx.google.com with ESMTP id r135-v6si14092251oie.100.2018.09.04.04.45.20 for <linux-mm@kvack.org>; Tue, 04 Sep 2018 04:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of will.deacon@arm.com designates 217.140.101.70 as permitted sender) client-ip=217.140.101.70; Authentication-Results: mx.google.com; spf=pass (google.com: domain of will.deacon@arm.com designates 217.140.101.70 as permitted sender) smtp.mailfrom=will.deacon@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B5C641596; Tue, 4 Sep 2018 04:45:19 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 84BF43F703; Tue, 4 Sep 2018 04:45:19 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 87D7D1AE2DE6; Tue, 4 Sep 2018 12:45:33 +0100 (BST) From: Will Deacon <will.deacon@arm.com> To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, npiggin@gmail.com, linux-mm@kvack.org, kirill.shutemov@linux.intel.com, akpm@linux-foundation.org, mhocko@suse.com, aneesh.kumar@linux.vnet.ibm.com Subject: [PATCH v2 1/5] asm-generic/tlb: Guard with #ifdef CONFIG_MMU Date: Tue, 4 Sep 2018 12:45:29 +0100 Message-Id: <1536061533-16188-2-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1536061533-16188-1-git-send-email-will.deacon@arm.com> References: <1536061533-16188-1-git-send-email-will.deacon@arm.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Extend and consolidate mmu_gather into new file
|
expand
|
diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h index b3353e21f3b3..a25e236f7a7f 100644 --- a/include/asm-generic/tlb.h +++ b/include/asm-generic/tlb.h @@ -20,6 +20,8 @@ #include <asm/pgalloc.h> #include <asm/tlbflush.h> +#ifdef CONFIG_MMU + #ifdef CONFIG_HAVE_RCU_TABLE_FREE /* * Semi RCU freeing of the page directories. @@ -310,6 +312,8 @@ static inline void tlb_remove_check_page_size_change(struct mmu_gather *tlb, #endif #endif +#endif /* CONFIG_MMU */ + #define tlb_migrate_finish(mm) do {} while (0) #endif /* _ASM_GENERIC__TLB_H */