Message ID | 20210708010854.tejN8VeeE%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=ham 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 C46CCC07E9C for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:08:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8F29461CD5 for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:08:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F29461CD5 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 7F9546B008C; Wed, 7 Jul 2021 21:08:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A9676B0092; Wed, 7 Jul 2021 21:08:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 671076B0093; Wed, 7 Jul 2021 21:08:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0085.hostedemail.com [216.40.44.85]) by kanga.kvack.org (Postfix) with ESMTP id 42F1C6B008C for <linux-mm@kvack.org>; Wed, 7 Jul 2021 21:08:57 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 8644C267D0 for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:08:56 +0000 (UTC) X-FDA: 78337636272.10.E6F06FF Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf09.hostedemail.com (Postfix) with ESMTP id 32C193000103 for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:08:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 456C661CD8; Thu, 8 Jul 2021 01:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625706535; bh=83NTYCuDoYH1tAJIIRLHwxTLMXhROzf2TGl0jh222HU=; h=Date:From:To:Subject:In-Reply-To:From; b=stuCfkGSBSR7/iRjs0ggncHOG7y/Iuym4E7MPSNxAN8xjx5k7LlElmNg1w0FlZTzR WWxmpWasjh0xQKeDzKxqwsQKBT1Q7U0Us3+/ky8waQxZV5rwc0F1CvTPrQlKwIc99s VjkCS9VMJiLXwNZdto3sE0PqFgcXq4OBtc+mRdgU= Date: Wed, 07 Jul 2021 18:08:54 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, palmerdabbelt@google.com, paul.walmsley@sifive.com, torvalds@linux-foundation.org, wangkefeng.wang@huawei.com Subject: [patch 27/54] riscv: convert to setup_initial_init_mm() Message-ID: <20210708010854.tejN8VeeE%akpm@linux-foundation.org> In-Reply-To: <20210707175950.eceddb86c6c555555d4730e2@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspam-User: nil Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=stuCfkGS; dmarc=none; spf=pass (imf09.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: rspam03 X-Rspamd-Queue-Id: 32C193000103 X-Stat-Signature: e5ohxqkyf8yc7w4oy9tjn56y357gnt15 X-HE-Tag: 1625706536-613366 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/riscv/kernel/setup.c~riscv-convert-to-setup_initial_init_mm +++ a/arch/riscv/kernel/setup.c @@ -264,10 +264,7 @@ static void __init parse_dtb(void) void __init setup_arch(char **cmdline_p) { parse_dtb(); - 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); *cmdline_p = boot_command_line;