From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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.8 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 6F3DEC433ED for ; Thu, 1 Apr 2021 00:54:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4AA54610CF for ; Thu, 1 Apr 2021 00:54:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231620AbhDAAyQ (ORCPT ); Wed, 31 Mar 2021 20:54:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:32930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232310AbhDAAxs (ORCPT ); Wed, 31 Mar 2021 20:53:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0B5AA60FE3; Thu, 1 Apr 2021 00:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1617238427; bh=lgA/rCh7G/IGE+U4gVzmT7e9rcWAKZbK6G6ugVlAZpI=; h=Date:From:To:Subject:From; b=BithxzS/zQwKUrAoYn3EqHIFCDP1ycId4ky3Fvm8gpE5np5uUC+kJ2wjJNTMJBFOW wBYk0pPhRokGxH5XE7FiedGFC++pcagc2TdtIqj7/3gmsYxJ2Y4mPa7o67TnxVlBnc hxALpjaqvhWOBL3SUQeIyeBFxtf28LUHyOWJjE6s= Date: Wed, 31 Mar 2021 17:53:46 -0700 From: akpm@linux-foundation.org To: aklimov@redhat.com, andriy.shevchenko@linux.intel.com, arnd@arndb.de, dalias@libc.org, dennis@kernel.org, dsterba@suse.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, jianpeng.ma@intel.com, joe@perches.com, jpoimboe@redhat.com, linux@rasmusvillemoes.dk, mm-commits@vger.kernel.org, richard.weiyang@linux.alibaba.com, sbrivio@redhat.com, wsa+renesas@sang-engineering.com, ysato@users.osdn.me, yury.norov@gmail.com Subject: + arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh.patch added to -mm tree Message-ID: <20210401005346.v74vNy6TJ%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: arch: rearrange headers inclusion order in asm/bitops for m68k and sh has been added to the -mm tree. Its filename is arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Yury Norov Subject: arch: rearrange headers inclusion order in asm/bitops for m68k and sh m68k and sh include bitmap/{find,le}.h prior to ffs/fls headers. New fast-path implementation in find.h requires ffs/fls. Reordering the headers inclusion sequence helps to prevent compile-time implicit function declaration error. Link: https://lkml.kernel.org/r/20210401003153.97325-5-yury.norov@gmail.com Signed-off-by: Yury Norov Acked-by: Geert Uytterhoeven Acked-by: Rasmus Villemoes Cc: Alexey Klimov Cc: Andy Shevchenko Cc: Arnd Bergmann Cc: David Sterba Cc: Dennis Zhou Cc: Jianpeng Ma Cc: Joe Perches Cc: John Paul Adrian Glaubitz Cc: Josh Poimboeuf Cc: Rich Felker Cc: Stefano Brivio Cc: Wei Yang Cc: Wolfram Sang Cc: Yoshinori Sato Signed-off-by: Andrew Morton --- arch/m68k/include/asm/bitops.h | 6 +++--- arch/sh/include/asm/bitops.h | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) --- a/arch/m68k/include/asm/bitops.h~arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh +++ a/arch/m68k/include/asm/bitops.h @@ -440,8 +440,6 @@ static inline unsigned long ffz(unsigned #endif -#include - #ifdef __KERNEL__ #if defined(CONFIG_CPU_HAS_NO_BITFIELDS) @@ -525,10 +523,12 @@ static inline int __fls(int x) #define __clear_bit_unlock clear_bit_unlock #include -#include #include #include #include +#include #endif /* __KERNEL__ */ +#include + #endif /* _M68K_BITOPS_H */ --- a/arch/sh/include/asm/bitops.h~arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh +++ a/arch/sh/include/asm/bitops.h @@ -58,15 +58,16 @@ static inline unsigned long __ffs(unsign return result; } -#include #include #include #include #include -#include #include #include #include #include +#include +#include + #endif /* __ASM_SH_BITOPS_H */ _ Patches currently in -mm which might be from yury.norov@gmail.com are tools-disable-wno-type-limits.patch tools-bitmap-sync-function-declarations-with-the-kernel.patch tools-sync-bitmap_last_word_mask-macro-with-the-kernel.patch arch-rearrange-headers-inclusion-order-in-asm-bitops-for-m68k-and-sh.patch lib-extend-the-scope-of-small_const_nbits-macro.patch tools-sync-small_const_nbits-macro-with-the-kernel.patch lib-inline-_find_next_bit-wrappers.patch tools-sync-find_next_bit-implementation.patch lib-add-fast-path-for-find_next__bit.patch lib-add-fast-path-for-find_first__bit-and-find_last_bit.patch tools-sync-lib-find_bit-implementation.patch maintainers-add-entry-for-the-bitmap-api.patch