Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp635182pxx; Wed, 28 Oct 2020 13:01:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkrpKvSJ+6X7QOqxyvshyD/ucotpra9bvTEPEyLaHoVMkf2GO87sENKGbq1zDtk4yl6+xq X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr616708edx.220.1603915289343; Wed, 28 Oct 2020 13:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603915289; cv=none; d=google.com; s=arc-20160816; b=PFhC95SRlCJceub8LaQ6qXWv71s1KZDrB4j+MefeAbupcCp7cnk6538DT/+1cQbJRO FwBsD+eG3Fn6AfWFuOYpunsmkSz7OBPwkU1jWxQIi2xIA0Ivubk6UXMwpxD9YiIdkwCP U+a0x/opxP5AWNk7oYkdoXY5sp8JHtA9cYIj1mDmrZVMpxzQZnM3rC+ZSXT57t75jhEz 3YoKnqQR1xsnpTU51vT8pyyQL1RxP1YTwSnxtiuTRlY7rEuEENLUnj8u3E00olIcXEjd GnNg8w/iSCPsLULCzTH0sxi3o3Bf1GL/wdaO5Rax857tDewJulxo4Jo3dWYCJ/Nmrqe0 Z8hA== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=LUoo3HhPrykGvwK+MAKTfL5A7J2hnAQhpsgsVSSSXlo=; b=FqS0/PuUcgfLXMB5sj8KuYPlpDCgaF0C8eSXtQ2rn6FxURGn+/CHcEqQV0BVbwS4Vz Xiasd9MuPwQw2/Pas4ER4e6BQ7R54VAXtOWFVN4S5sbYweQFUrfK01CoNFL/AF8XNwUy izBtdn6+ojyLIWDEfZ1Lg6fOvSMyzppkiZ0DhDk3QSANw5ui/NJldzTUjjY0lhn7g0iv 1Udd53j29WXbJWCZqNVQdlwjDFoKyUx/Y9P+2QjjwugBA42vPvO1aeZDirZyrINeffkm uws2BOiy+W70Sqz6txUKPY33aKVF7pbJcrD3V7SqjuZsRgzJlAxbAI9CWOLCEY/tMdkz dMYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hYV33i0R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si10484edy.397.2020.10.28.13.01.07; Wed, 28 Oct 2020 13:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hYV33i0R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1793638AbgJ0SdD (ORCPT + 99 others); Tue, 27 Oct 2020 14:33:03 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21822 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1789490AbgJ0SdB (ORCPT ); Tue, 27 Oct 2020 14:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603823580; h=from:from: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=LUoo3HhPrykGvwK+MAKTfL5A7J2hnAQhpsgsVSSSXlo=; b=hYV33i0RkgAjjRgMbqlBhJHvYcI0S2TLHb/r1G2rhYZ+YWTSlbf46/d5LInnVOzia8oHOt w2/E7GXGE9NT6HsNpQY/mSPuKFxt7JUscaQphHF0lwOQpsNK5OPi0RDbwhdsjeBvfotsJq 2Uu+V9uhBfruo9UjaJpRgpc7Uk2yhxM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-S836uhR2O62vSdU1osWGqw-1; Tue, 27 Oct 2020 14:32:58 -0400 X-MC-Unique: S836uhR2O62vSdU1osWGqw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5DBC0101F7A2; Tue, 27 Oct 2020 18:32:55 +0000 (UTC) Received: from ovpn-66-71.rdu2.redhat.com (ovpn-66-71.rdu2.redhat.com [10.10.66.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2927C5C1C2; Tue, 27 Oct 2020 18:32:54 +0000 (UTC) Message-ID: Subject: Re: [PATCH -next] arm64: Fix redefinition of init_new_context() From: Qian Cai To: Arnd Bergmann , Stephen Rothwell Cc: Nicholas Piggin , Jean-Philippe Brucker , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, Linux Next Mailing List , Linux Kernel Mailing List , Nick Desaulniers Date: Tue, 27 Oct 2020 14:32:53 -0400 In-Reply-To: <20201012141032.6333-1-cai@redhat.com> References: <20201012141032.6333-1-cai@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-10-12 at 10:10 -0400, Qian Cai wrote: > The linux-next commit c870baeede75 ("asm-generic: add generic MMU > versions of mmu context functions") missed a case in the arm64/for-next > branch. > > Signed-off-by: Qian Cai Arnd, Stephen, can you apply this patch? Those compiling errors are back again in next-20201027. > --- > arch/arm64/include/asm/mmu_context.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/include/asm/mmu_context.h > b/arch/arm64/include/asm/mmu_context.h > index da5f146e665b..cd5c33a50469 100644 > --- a/arch/arm64/include/asm/mmu_context.h > +++ b/arch/arm64/include/asm/mmu_context.h > @@ -176,6 +176,7 @@ static inline void cpu_replace_ttbr1(pgd_t *pgdp) > */ > void check_and_switch_context(struct mm_struct *mm); > > +#define init_new_context init_new_context > static inline int > init_new_context(struct task_struct *tsk, struct mm_struct *mm) > {