Message ID | 20210708010840.2Y_Mn7ulE%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 46D72C11F67 for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:08:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F2A6A61CBE for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:08:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2A6A61CBE 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 E3BA56B006C; Wed, 7 Jul 2021 21:08:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E11B76B0089; Wed, 7 Jul 2021 21:08:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CDA036B008A; Wed, 7 Jul 2021 21:08:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0177.hostedemail.com [216.40.44.177]) by kanga.kvack.org (Postfix) with ESMTP id AD2296B006C for <linux-mm@kvack.org>; Wed, 7 Jul 2021 21:08:42 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 119451803A103 for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:08:42 +0000 (UTC) X-FDA: 78337635684.27.55A7A1B Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf25.hostedemail.com (Postfix) with ESMTP id A9822B000289 for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:08:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id C3D0961CD3; Thu, 8 Jul 2021 01:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625706521; bh=VP5YbzdXSxSIaRj7f7myUEG3Jo263CMCHWq2WL1jli0=; h=Date:From:To:Subject:In-Reply-To:From; b=IiGVB2A4w+vuzUiEHL+8CVVImCRwnek9xyzr4sRw7gdbbraBrhRVeEO/erIkTaxRs R02obscIhmzotfUsMUWF9ixMoSrPZK+BAP1xi/eQLVSGv9UaQxilrpV/7y0dYk30qg rid5xhCxkc9AWuRXoEmimvXYMUSlYmf5M00swhss= Date: Wed, 07 Jul 2021 18:08:40 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, geert@linux-m68k.org, gerg@linux-m68k.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org, wangkefeng.wang@huawei.com Subject: [patch 22/54] m68k: convert to setup_initial_init_mm() Message-ID: <20210708010840.2Y_Mn7ulE%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: imf25.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=IiGVB2A4; dmarc=none; spf=pass (imf25.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: A9822B000289 X-Stat-Signature: ehsd1yntpfz6zxp3u8bpzz36e16er3b9 X-HE-Tag: 1625706521-508137 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/m68k/kernel/setup_mm.c~m68k-convert-to-setup_initial_init_mm +++ a/arch/m68k/kernel/setup_mm.c @@ -258,10 +258,7 @@ void __init setup_arch(char **cmdline_p) } } - init_mm.start_code = PAGE_OFFSET; - init_mm.end_code = (unsigned long)_etext; - init_mm.end_data = (unsigned long)_edata; - init_mm.brk = (unsigned long)_end; + setup_initial_init_mm((void *)PAGE_OFFSET, _etext, _edata, _end); #if defined(CONFIG_BOOTPARAM) strncpy(m68k_command_line, CONFIG_BOOTPARAM_STRING, CL_SIZE); --- a/arch/m68k/kernel/setup_no.c~m68k-convert-to-setup_initial_init_mm +++ a/arch/m68k/kernel/setup_no.c @@ -87,10 +87,7 @@ void __init setup_arch(char **cmdline_p) memory_start = PAGE_ALIGN(_ramstart); memory_end = _ramend; - 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) 0; + setup_initial_init_mm(_stext, _etext, _edata, NULL); config_BSP(&command_line[0], sizeof(command_line));