Remove trailing whitespaces.
This commit is contained in:
parent
28425e8270
commit
c50bcc38cc
@ -238,7 +238,7 @@ data_abort_handler(trapframe_t *tf)
|
|||||||
int error = 0;
|
int error = 0;
|
||||||
struct ksig ksig;
|
struct ksig ksig;
|
||||||
struct proc *p;
|
struct proc *p;
|
||||||
|
|
||||||
|
|
||||||
/* Grab FAR/FSR before enabling interrupts */
|
/* Grab FAR/FSR before enabling interrupts */
|
||||||
far = cpu_faultaddress();
|
far = cpu_faultaddress();
|
||||||
@ -262,10 +262,10 @@ data_abort_handler(trapframe_t *tf)
|
|||||||
|
|
||||||
if (user) {
|
if (user) {
|
||||||
td->td_pticks = 0;
|
td->td_pticks = 0;
|
||||||
td->td_frame = tf;
|
td->td_frame = tf;
|
||||||
if (td->td_ucred != td->td_proc->p_ucred)
|
if (td->td_ucred != td->td_proc->p_ucred)
|
||||||
cred_update_thread(td);
|
cred_update_thread(td);
|
||||||
|
|
||||||
}
|
}
|
||||||
/* Grab the current pcb */
|
/* Grab the current pcb */
|
||||||
pcb = td->td_pcb;
|
pcb = td->td_pcb;
|
||||||
@ -276,7 +276,7 @@ data_abort_handler(trapframe_t *tf)
|
|||||||
if (__predict_true(tf->tf_spsr & F32_bit) == 0)
|
if (__predict_true(tf->tf_spsr & F32_bit) == 0)
|
||||||
enable_interrupts(F32_bit);
|
enable_interrupts(F32_bit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Invoke the appropriate handler, if necessary */
|
/* Invoke the appropriate handler, if necessary */
|
||||||
if (__predict_false(data_aborts[fsr & FAULT_TYPE_MASK].func != NULL)) {
|
if (__predict_false(data_aborts[fsr & FAULT_TYPE_MASK].func != NULL)) {
|
||||||
@ -720,7 +720,7 @@ prefetch_abort_handler(trapframe_t *tf)
|
|||||||
printf("prefetch abort handler: %p %p\n", (void*)tf->tf_pc,
|
printf("prefetch abort handler: %p %p\n", (void*)tf->tf_pc,
|
||||||
(void*)tf->tf_usr_lr);
|
(void*)tf->tf_usr_lr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
td = curthread;
|
td = curthread;
|
||||||
p = td->td_proc;
|
p = td->td_proc;
|
||||||
PCPU_INC(cnt.v_trap);
|
PCPU_INC(cnt.v_trap);
|
||||||
@ -937,7 +937,7 @@ swi_handler(trapframe_t *frame)
|
|||||||
struct thread *td = curthread;
|
struct thread *td = curthread;
|
||||||
|
|
||||||
td->td_frame = frame;
|
td->td_frame = frame;
|
||||||
|
|
||||||
td->td_pticks = 0;
|
td->td_pticks = 0;
|
||||||
/*
|
/*
|
||||||
* Make sure the program counter is correctly aligned so we
|
* Make sure the program counter is correctly aligned so we
|
||||||
|
Loading…
x
Reference in New Issue
Block a user