svn commit: r322616 - stable/11/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Thu Aug 17 10:56:24 UTC 2017


Author: kib
Date: Thu Aug 17 10:56:22 2017
New Revision: 322616
URL: https://svnweb.freebsd.org/changeset/base/322616

Log:
  MFC r322494:
  Style.

Modified:
  stable/11/sys/amd64/amd64/trap.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/amd64/trap.c
==============================================================================
--- stable/11/sys/amd64/amd64/trap.c	Thu Aug 17 10:48:56 2017	(r322615)
+++ stable/11/sys/amd64/amd64/trap.c	Thu Aug 17 10:56:22 2017	(r322616)
@@ -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;
 
 	PCPU_INC(cnt.v_trap);
 	type = frame->tf_trapno;


More information about the svn-src-all mailing list