diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2024-10-01 11:32:19 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2024-10-01 11:32:19 +0000 |
commit | c2fe7156e992a295756206f59c282b9e971b8c91 (patch) | |
tree | 424423220df9adcbca51bcfabdef609a360ab349 | |
parent | 1b745d8b23e465872e171579cfc944bd57e5501a (diff) | |
download | src-c2fe7156e992a295756206f59c282b9e971b8c91.tar.gz src-c2fe7156e992a295756206f59c282b9e971b8c91.zip |
amd64/mp_machdep.c: style
Wrap long lines.
Remove redundand declaration.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 11 |
1 files 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; |