Centos-kernel-stream-9/arch/riscv
Rafael Aquini 4b541f49d8 mm/treewide: align up pXd_leaf() retval across archs
JIRA: https://issues.redhat.com/browse/RHEL-27745

This patch is a backport of the following upstream commit:
commit c05995b7ec2a73bf813a8944978e175f8e4ec3ac
Author: Peter Xu <peterx@redhat.com>
Date:   Tue Mar 5 12:37:50 2024 +0800

    mm/treewide: align up pXd_leaf() retval across archs

    Even if pXd_leaf() API is defined globally, it's not clear on the retval,
    and there are three types used (bool, int, unsigned log).

    Always return a boolean for pXd_leaf() APIs.

    Link: https://lkml.kernel.org/r/20240305043750.93762-11-peterx@redhat.com
    Signed-off-by: Peter Xu <peterx@redhat.com>
    Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
    Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
    Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
    Cc: Alexander Potapenko <glider@google.com>
    Cc: Andrey Konovalov <andreyknvl@gmail.com>
    Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
    Cc: "Aneesh Kumar K.V" <aneesh.kumar@kernel.org>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Kirill A. Shutemov <kirill@shutemov.name>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Muchun Song <muchun.song@linux.dev>
    Cc: "Naveen N. Rao" <naveen.n.rao@linux.ibm.com>
    Cc: Nicholas Piggin <npiggin@gmail.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
    Cc: Yang Shi <shy828301@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2024-12-09 12:24:45 -05:00
..
boot riscv: dts: microchip: Add ethernet0 to the aliases node 2021-08-24 20:57:32 -07:00
configs mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2024-04-09 09:42:54 -04:00
errata
include mm/treewide: align up pXd_leaf() retval across archs 2024-12-09 12:24:45 -05:00
kernel jump_label: make initial NOP patching the special case 2024-03-20 09:43:04 -04:00
lib include/linux/delay.h: replace kernel.h with the necessary inclusions 2022-04-22 06:16:07 -04:00
mm mm: enable page walking API to lock vmas during the walk 2024-04-30 17:51:27 -06:00
net bpf: Change value of MAX_TAIL_CALL_CNT from 32 to 33 2022-04-29 18:17:17 +02:00
Kbuild
Kconfig randstruct: Reorganize Kconfigs and attribute macros 2024-03-20 09:42:34 -04:00
Kconfig.debug
Kconfig.erratas
Kconfig.socs riscv: sifive: fix Kconfig errata warning 2021-06-12 17:20:50 -07:00
Makefile Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00