git: c2fe7156e992 - main - amd64/mp_machdep.c: style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Oct 2024 13:26:53 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c2fe7156e992a295756206f59c282b9e971b8c91 commit c2fe7156e992a295756206f59c282b9e971b8c91 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-10-01 11:32:19 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-10-01 11:32:19 +0000 amd64/mp_machdep.c: style Wrap long lines. Remove redundand declaration. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/amd64/amd64/mp_machdep.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 12abb8b6bf8b..00e99f9df192 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -102,16 +102,15 @@ void *bootpcpu; extern u_int mptramp_la57; extern u_int mptramp_nx; -smp_targeted_tlb_shootdown_t smp_targeted_tlb_shootdown = &smp_targeted_tlb_shootdown_native; +smp_targeted_tlb_shootdown_t smp_targeted_tlb_shootdown = + &smp_targeted_tlb_shootdown_native; + /* * Local data and functions. */ static int start_ap(int apic_id, vm_paddr_t boot_address); -void -smp_targeted_tlb_shootdown_native(pmap_t pmap, vm_offset_t addr1, vm_offset_t addr2, - smp_invl_cb_t curcpu_cb, enum invl_op_codes op); /* * Initialize the IPI handlers and start up the AP's. */ @@ -586,8 +585,8 @@ invl_scoreboard_slot(u_int cpu) * completion. */ void -smp_targeted_tlb_shootdown_native(pmap_t pmap, vm_offset_t addr1, vm_offset_t addr2, - smp_invl_cb_t curcpu_cb, enum invl_op_codes op) +smp_targeted_tlb_shootdown_native(pmap_t pmap, vm_offset_t addr1, + vm_offset_t addr2, smp_invl_cb_t curcpu_cb, enum invl_op_codes op) { cpuset_t mask; uint32_t generation, *p_cpudone;