svn commit: r322494 - head/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Mon Aug 14 11:20:13 UTC 2017
Author: kib
Date: Mon Aug 14 11:20:10 2017
New Revision: 322494
URL: https://svnweb.freebsd.org/changeset/base/322494
Log:
Style.
Tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Modified:
head/sys/amd64/amd64/trap.c
Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c Mon Aug 14 11:19:31 2017 (r322493)
+++ head/sys/amd64/amd64/trap.c Mon Aug 14 11:20:10 2017 (r322494)
@@ -166,15 +166,21 @@ trap(struct trapframe *frame)
#ifdef KDTRACE_HOOKS
struct reg regs;
#endif
- struct thread *td = curthread;
- struct proc *p = td->td_proc;
+ ksiginfo_t ksi;
+ struct thread *td;
+ struct proc *p;
+ register_t addr;
#ifdef KDB
register_t dr6;
#endif
- int i = 0, ucode = 0;
+ int i, ucode;
u_int type;
- register_t addr = 0;
- ksiginfo_t ksi;
+
+ td = curthread;
+ p = td->td_proc;
+ i = 0;
+ ucode = 0;
+ addr = 0;
VM_CNT_INC(v_trap);
type = frame->tf_trapno;
More information about the svn-src-all
mailing list