Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5C02C54E94 for ; Thu, 26 Jan 2023 08:20:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236364AbjAZIUx (ORCPT ); Thu, 26 Jan 2023 03:20:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234999AbjAZIUt (ORCPT ); Thu, 26 Jan 2023 03:20:49 -0500 Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3FE8677AE; Thu, 26 Jan 2023 00:20:47 -0800 (PST) Received: by mail-qt1-f169.google.com with SMTP id m26so714749qtp.9; Thu, 26 Jan 2023 00:20:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iTLUhLqiktW0lQYPPHgLpL0hyET/yRv7DDBqjk/47Fc=; b=7+LRcWEznPa5uKoHJ1Tg+ykZpb6vX6VLjWaJRa9B+MZdl41zBVlhXNmcLBu8/LUrg1 b/PuJyIy0Go3MjWrP+uM+5ME6ZLSe/zJDVU4m59cO7ZEVB51LFdSIrQlkNvgDMvH1Bp4 vd3r5h+J62icDFbVCxbtIBGfueDAQj+m/QqeXwmUvdf+3rSRofIeuJjqi2Btl0OD+x0K ZOapxF9oOIPgJ+L5/tnB58FNcDky642b8KN7p8Z2dWDXo4bO6mNY4LXjjltYuA6wCQek rG9qEf5wjq2aeEoNT84Hz3anvC/N3bl9OCfchWFjpQX5heUAZVgczyC3qXS+4uD6gvgl vkrw== X-Gm-Message-State: AFqh2kruT9tJ1lepFIJ4Uk3IEXFGV/RZynrSdpRh7l+J0GMAGyhE8Glr wcUXsqO7TsxZr+7kUuQezqoL/R15SSZuUg== X-Google-Smtp-Source: AMrXdXvRhGAyW/N9yjvNqC9twGwSug95UgGB/kyWFjQYeOXDpVBNU3zAq9YlPOJJttgil+RQ3F/R6Q== X-Received: by 2002:ac8:71d1:0:b0:3b6:2f3f:2710 with SMTP id i17-20020ac871d1000000b003b62f3f2710mr47444404qtp.11.1674721246569; Thu, 26 Jan 2023 00:20:46 -0800 (PST) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id l16-20020ac84cd0000000b003b630456b8fsm324448qtv.89.2023.01.26.00.20.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Jan 2023 00:20:45 -0800 (PST) Received: by mail-yb1-f181.google.com with SMTP id h5so1101996ybj.8; Thu, 26 Jan 2023 00:20:45 -0800 (PST) X-Received: by 2002:a25:9ac1:0:b0:7b4:6a33:d89f with SMTP id t1-20020a259ac1000000b007b46a33d89fmr2761883ybo.543.1674721245117; Thu, 26 Jan 2023 00:20:45 -0800 (PST) MIME-Version: 1.0 References: <20230125190757.22555-1-rppt@kernel.org> <20230125190757.22555-2-rppt@kernel.org> In-Reply-To: <20230125190757.22555-2-rppt@kernel.org> From: Geert Uytterhoeven Date: Thu, 26 Jan 2023 09:20:33 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] m68k: use asm-generic/memory_model.h for both MMU and !MMU To: Mike Rapoport Cc: Andrew Morton , Arnd Bergmann , Brian Cain , "David S. Miller" , Dinh Nguyen , Greg Ungerer , Guo Ren , Helge Deller , Huacai Chen , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Palmer Dabbelt , Rich Felker , Richard Weinberger , Stafford Horne , Thomas Bogendoerfer , Vineet Gupta , WANG Xuerui , Yoshinori Sato , linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux--csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, openrisc@lists.librecores.org, sparclinux@vger.kernel.org, x86@kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 25, 2023 at 8:08 PM Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The MMU variant uses generic definitions of page_to_pfn() and > pfn_to_page(), but !MMU defines them in include/asm/page_no.h for no > good reason. > > Include asm-generic/memory_model.h in the common include/asm/page.h and > drop redundant definitions. > > Signed-off-by: Mike Rapoport (IBM) Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds