arm64: Fix long lines in vm_machdep.c

Reviewed by:	emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D41828
This commit is contained in:
Andrew Turner 2023-09-12 14:45:07 +01:00
parent 608da65de9
commit 26ac295c05

View file

@ -214,11 +214,13 @@ cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg,
/* 32bits processes use r13 for sp */
if (td->td_frame->tf_spsr & PSR_M_32) {
tf->tf_x[13] = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
tf->tf_x[13] = STACKALIGN((uintptr_t)stack->ss_sp +
stack->ss_size);
if ((register_t)entry & 1)
tf->tf_spsr |= PSR_T;
} else
tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp +
stack->ss_size);
tf->tf_elr = (register_t)entry;
tf->tf_x[0] = (register_t)arg;
tf->tf_x[29] = 0;