Date: Sun, 19 May 2002 18:45:14 -0700 (PDT) From: Jonathan Mini <mini@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 11578 for review Message-ID: <200205200145.g4K1jEd67995@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11578 Change 11578 by mini@mini_stylus on 2002/05/19 18:44:29 Don't initialize in declarations. Affected files ... ... //depot/projects/kse/sys/i386/i386/trap.c#41 edit ... //depot/projects/kse/sys/i386/i386/vm_machdep.c#42 edit Differences ... ==== //depot/projects/kse/sys/i386/i386/trap.c#41 (text+ko) ==== ==== //depot/projects/kse/sys/i386/i386/vm_machdep.c#42 (text+ko) ==== @@ -257,8 +257,9 @@ void cpu_exit(struct thread *td) { - struct mdproc *mdp = &td->td_proc->p_md; + struct mdproc *mdp; + mdp = &td->td_proc->p_md; if (mdp->md_ldt) user_ldt_free(td); reset_dbregs(); @@ -413,11 +414,14 @@ int cpu_export_context(struct thread *td) { - struct trapframe *frame = td->td_frame; - struct thread_mailbox *tm = td->td_mailbox; - struct trapframe *uframe = &tm->ctx.tfrm.tf_tf; + struct trapframe *frame; + struct thread_mailbox *tm; + struct trapframe *uframe; int error; + frame = td->td_frame; + tm = td->td_mailbox; + uframe = &tm->ctx.tfrm.tf_tf; error = copyout(frame, uframe, sizeof(*frame)); /* * "What about the fp regs?" I hear you ask.... XXXKSE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205200145.g4K1jEd67995>