Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2017 10:56:22 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322616 - stable/11/sys/amd64/amd64
Message-ID:  <201708171056.v7HAuMYd074312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708171056.v7HAuMYd074312>