Message ID | 20221019034945.93081-2-wangkefeng.wang@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0008C433FE for <linux-mm@archiver.kernel.org>; Wed, 19 Oct 2022 03:30:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 07A376B0072; Tue, 18 Oct 2022 23:30:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0298F6B0073; Tue, 18 Oct 2022 23:30:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E5AF26B0074; Tue, 18 Oct 2022 23:30:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id D924F6B0072 for <linux-mm@kvack.org>; Tue, 18 Oct 2022 23:30:01 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id AB91C1C61E6 for <linux-mm@kvack.org>; Wed, 19 Oct 2022 03:30:01 +0000 (UTC) X-FDA: 80036270202.08.FEE6D7B Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by imf08.hostedemail.com (Postfix) with ESMTP id BAB72160034 for <linux-mm@kvack.org>; Wed, 19 Oct 2022 03:30:00 +0000 (UTC) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Msbks5XpWzJn4F; Wed, 19 Oct 2022 11:27:17 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 11:29:56 +0800 Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 11:29:56 +0800 From: Kefeng Wang <wangkefeng.wang@huawei.com> To: <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@linux-foundation.org> CC: Dinh Nguyen <dinguyen@kernel.org>, Jarkko Sakkinen <jarkko@kernel.org>, Dave Hansen <dave.hansen@linux.intel.com>, <linux-sgx@vger.kernel.org>, <amd-gfx@lists.freedesktop.org>, <linux-mm@kvack.org>, Kefeng Wang <wangkefeng.wang@huawei.com> Subject: [PATCH 1/5] nios2: remove unused INIT_MMAP Date: Wed, 19 Oct 2022 11:49:41 +0800 Message-ID: <20221019034945.93081-2-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20221019034945.93081-1-wangkefeng.wang@huawei.com> References: <20221019034945.93081-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666150201; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P89rUoDA+nksodvLWZ2Z9yurxKG+A6kPWXcToRSwRqs=; b=1aECCR2oQRBfJTNaXgtsX65AEqY9z99IEdN3A1rh5RkJL8CyzU5K9HCQ4LP0jM2id2KagA DgpeMpqo1nHHyRurRu/9b+ldbvuyf0NXC1qLQe+eV+jfIVv7XcYArNz0IJKMhCZ+1io6Ce l/cOwkL8WoWGADHA8EH4w0EDgVQMHew= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf08.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.189 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666150201; a=rsa-sha256; cv=none; b=b0vOMFfzODrwrnQJRZuen/WOa5VuHzFFDk9dK9a1xy9ZiOCA5vcg22geIAU0kyike2degr /t4kSGkwOddUYIHist5OdxiAOBaIAi6JtTh3xYzSJ3bGlTPjT+NXJkzLAqFPfnZ9bXhtGq Y/UPZy+UClXGLZJlsijje8UxdeZFulU= Authentication-Results: imf08.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf08.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.189 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: BAB72160034 X-Stat-Signature: hoeter9g6j9m1u7bx93jajpz1nwtdizd X-Rspam-User: X-HE-Tag: 1666150200-815764 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> |
Series | mm: cleanup with VM_ACCESS_FLAGS | expand |
diff --git a/arch/nios2/include/asm/processor.h b/arch/nios2/include/asm/processor.h index 8916d93d5c2d..eb44130364a9 100644 --- a/arch/nios2/include/asm/processor.h +++ b/arch/nios2/include/asm/processor.h @@ -50,9 +50,6 @@ struct thread_struct { unsigned long kpsr; }; -#define INIT_MMAP \ - { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC } - # define INIT_THREAD { \ .kregs = NULL, \ .ksp = 0, \
It seems that INIT_MMAP is gone in 2.4.10, not sure, anyways, it is useless now, kill it. Cc: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> --- arch/nios2/include/asm/processor.h | 3 --- 1 file changed, 3 deletions(-)