]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc: fix a few pmap related functions to return correct types
authorDimitry Andric <dim@FreeBSD.org>
Sun, 23 Apr 2023 13:22:44 +0000 (15:22 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Sun, 23 Apr 2023 13:23:04 +0000 (15:23 +0200)
commitd142601887524fc595ed0f5e6a69419727222f0a
tree3dd8d5c1ca2b229a4003c74bf92b4caae95fe2df
parent336c4682b6f3d181daf9fc7a8c9386c8c06ce996
powerpc: fix a few pmap related functions to return correct types

While experimenting with changing boolean_t to another type, I noticed
that several powerpc pmap related functions returned the wrong type:
boolean_t instead of int.

Fix several declarations and definitions to match the actual pmap
function types: pmap_dev_direct_mapped_t and pmap_ts_referenced_t.

MFC after: 3 days
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c
sys/powerpc/aim/mmu_radix.c
sys/powerpc/booke/pmap.c
sys/powerpc/powerpc/pmap_dispatch.c