git: 645510e62e34 - main - Provide consistent prototype for swp_pager_meta_free()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Dec 2022 15:23:14 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=645510e62e34d9af4c2d57c7a6443a494511918d commit 645510e62e34d9af4c2d57c7a6443a494511918d Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-12-09 15:21:16 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-12-09 15:23:09 +0000 Provide consistent prototype for swp_pager_meta_free() This should fix 32bit build breakage. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/vm/swap_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 163e0c42d30d..6e423ae107a8 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -483,7 +483,7 @@ static daddr_t swp_pager_getswapspace(int *npages); * Metadata functions */ static daddr_t swp_pager_meta_build(vm_object_t, vm_pindex_t, daddr_t); -static void swp_pager_meta_free(vm_object_t, vm_pindex_t, vm_size_t, +static void swp_pager_meta_free(vm_object_t, vm_pindex_t, vm_pindex_t, vm_size_t *); static void swp_pager_meta_transfer(vm_object_t src, vm_object_t dst, vm_pindex_t pindex, vm_pindex_t count, vm_size_t *freed);