Message ID | 20221019034945.93081-2-wangkefeng.wang@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp108549wrs; Tue, 18 Oct 2022 20:34:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6yFh9xB+7541kXii18qt+d9mlzcXRpQ4T0V4pGzEZbWkEXQWHGqeznTuH0YExAVENieRcy X-Received: by 2002:a17:907:a425:b0:78d:b3ce:1e43 with SMTP id sg37-20020a170907a42500b0078db3ce1e43mr4905322ejc.95.1666150496908; Tue, 18 Oct 2022 20:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666150496; cv=none; d=google.com; s=arc-20160816; b=lxz9kawEOFQmzO9yWxilCtKf9y4G6ETkjZOxaVh3KYHyYOZFaRztdKfBmaH778VPZw JINNye9BWvlXETfLgJComXsqNIeMjOowcnN9DooXExlPivY44QsawQopgyzQzjx696/f rInE3AFi/g46Jhjkp8ZC/ZoVnTfOQR+lch6qWLGltAEsYghCydcQN2Ysr3fkn3Tockge q6WrnTSVeeUN9cXJcWq1RRHFxnxYPTWZHrBWJ5p0jCKc46FcesMiBCCh6B6PiAkv9Ts4 kkoCWg+r7tPgk4KSnXmcWD5PP96aXKp4ldEvdtM3USF/n3nnf6JEOpgy8VCVPsEJSrx3 +SaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=P89rUoDA+nksodvLWZ2Z9yurxKG+A6kPWXcToRSwRqs=; b=lIL0G2D7ufqNL22VvdEbj38gIcSUlW9B+xXK1ADn79pemdKLgSYPLY0IrokknzTJ/2 a4fwrYUM+X8wekmZmX/W/B56FxBMeTEhyFVl8aQBqDeUoZ23JYcmMInMUrlwV7TDtVTe qosJ6Dnf6pUZvsGoXU+ekV0uEdc+ielqAfYFSU2pXfZ3BZLtUY21LYPSVs1D7HHRdm8n KKoI+Ag/iUWR4hoJi/3rktC1CAj5ivScMF/WjG/E9pchYrFol3wevjHdScao4JmB6hb5 AfX9l/5neFGWV6xehZjAiFcJVCfDkETtreo2csbK0yzv1hOM5qVWA0+VKJrSPruqgeO/ vw6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg22-20020a170906f89600b0078c959aea8bsi10932174ejb.324.2022.10.18.20.34.31; Tue, 18 Oct 2022 20:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbiJSDaG (ORCPT <rfc822;samuel.l.nystrom@gmail.com> + 99 others); Tue, 18 Oct 2022 23:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiJSDaC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Oct 2022 23:30:02 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77D9F33E2B; Tue, 18 Oct 2022 20:29:58 -0700 (PDT) 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: 7BIT Content-Type: text/plain; charset=US-ASCII 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747085423516218246?= X-GMAIL-MSGID: =?utf-8?q?1747085423516218246?= |
Series |
mm: cleanup with VM_ACCESS_FLAGS
|
|
Commit Message
Kefeng Wang
Oct. 19, 2022, 3:49 a.m. UTC
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(-)
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, \