Message ID | 20210708010846.AgIkhsHPs%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=OeGd=MA=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1098C07E9C for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:08:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B6F8661CBE for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:08:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6F8661CBE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A6B336B0071; Wed, 7 Jul 2021 21:08:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A1A996B0089; Wed, 7 Jul 2021 21:08:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8E29A6B008A; Wed, 7 Jul 2021 21:08:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0182.hostedemail.com [216.40.44.182]) by kanga.kvack.org (Postfix) with ESMTP id 6CF956B0071 for <linux-mm@kvack.org>; Wed, 7 Jul 2021 21:08:48 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C1CAA27038 for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:08:47 +0000 (UTC) X-FDA: 78337635894.12.EED26C1 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf06.hostedemail.com (Postfix) with ESMTP id 65577801AB3B for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:08:47 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8A61961CD7; Thu, 8 Jul 2021 01:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625706526; bh=uWMpqkPZb5xo8SJ4+tO1wypyuNoMELiZsAwU+7n88oU=; h=Date:From:To:Subject:In-Reply-To:From; b=iMiP0AsFGhDkkOHfYmL3O5pIQ09p6PjxtiEiUQF5wkRYm5delFpWGLlO90NvXfMUY qGbFe5rNabmoDmlOLbXo+HXYJt2IPDLq2pJdxXXY2OOi0sJNsrpMts0/ngC0xT/+bd ZyW7GSA802DGhu8yF2vgTCvBuayRawCvuXTr5egg= Date: Wed, 07 Jul 2021 18:08:46 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, ley.foon.tan@intel.com, linux-mm@kvack.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org, wangkefeng.wang@huawei.com Subject: [patch 24/54] nios2: convert to setup_initial_init_mm() Message-ID: <20210708010846.AgIkhsHPs%akpm@linux-foundation.org> In-Reply-To: <20210707175950.eceddb86c6c555555d4730e2@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=iMiP0AsF; dmarc=none; spf=pass (imf06.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam02 X-Rspam-User: nil X-Rspamd-Queue-Id: 65577801AB3B X-Stat-Signature: p8xngt76zi9w1txgw9b7enuqudpem6ik X-HE-Tag: 1625706527-110628 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 |
[01/54] lib/test: fix spelling mistakes
|
expand
|
--- a/arch/nios2/kernel/setup.c~nios2-convert-to-setup_initial_init_mm +++ a/arch/nios2/kernel/setup.c @@ -156,10 +156,7 @@ void __init setup_arch(char **cmdline_p) memory_start = memblock_start_of_DRAM(); memory_end = memblock_end_of_DRAM(); - init_mm.start_code = (unsigned long) _stext; - init_mm.end_code = (unsigned long) _etext; - init_mm.end_data = (unsigned long) _edata; - init_mm.brk = (unsigned long) _end; + setup_initial_init_mm(_stext, _etext, _edata, _end); init_task.thread.kregs = &fake_regs; /* Keep a copy of command line */