diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-17 20:13:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-17 20:13:45 +0000 |
commit | 73d19c57ee0a665cd1815f1d3ee623a3713cc2cc (patch) | |
tree | 3671893390ab9b2faf367d186b7c67ec58deea50 /sys | |
parent | f84f856c9352a413c66bc7da569e6d1f454e182e (diff) |
Rename ``dofault'' label to ``fault_common'', it just looks too close to
``default'' and thus can make your code reading experience more difficult...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mips64/mips64/trap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mips64/mips64/trap.c b/sys/arch/mips64/mips64/trap.c index 77ce244be58..95fbf734682 100644 --- a/sys/arch/mips64/mips64/trap.c +++ b/sys/arch/mips64/mips64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.28 2005/12/12 18:59:04 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.29 2005/12/17 20:13:44 miod Exp $ */ /* tracked to 1.23 */ /* @@ -251,7 +251,7 @@ trap(trapframe) trunc_page(trapframe->badvaddr), entry)) { /* write to read only page */ ftype = VM_PROT_WRITE; - goto dofault; + goto fault_common; } entry |= PG_M; pte->pt_entry = entry; @@ -294,21 +294,21 @@ trap(trapframe) #define szsigcode ((long)(p->p_emul->e_esigcode - p->p_emul->e_sigcode)) if (trapframe->badvaddr < VM_MAXUSER_ADDRESS && trapframe->badvaddr >= (long)STACKGAPBASE) - goto dofault; + goto fault_common; if ((i = p->p_addr->u_pcb.pcb_onfault) == 0) { - goto dofault; + goto fault_common; } #undef szsigcode - goto dofault; + goto fault_common; case T_TLB_LD_MISS+T_USER: ftype = VM_PROT_READ; - goto dofault; + goto fault_common; case T_TLB_ST_MISS+T_USER: ftype = VM_PROT_WRITE; - dofault: +fault_common: { vaddr_t va; struct vmspace *vm; |