Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Garbage collect unneeded inclusion of <x86/dbregs.h...



details:   https://anonhg.NetBSD.org/src/rev/97d637275f9e
branches:  trunk
changeset: 822002:97d637275f9e
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 25 13:34:21 2017 +0000

description:
Garbage collect unneeded inclusion of <x86/dbregs.h> in <machine/proc.h>

This is left over after introduction of Debug Register accessors.
This interface replaced older watchpoint API.

Sponsored by <The NetBSD Foundation>

diffstat:

 sys/arch/amd64/include/proc.h |  3 +--
 sys/arch/i386/include/proc.h  |  3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 290e444545c0 -r 97d637275f9e sys/arch/amd64/include/proc.h
--- a/sys/arch/amd64/include/proc.h     Sat Feb 25 12:03:57 2017 +0000
+++ b/sys/arch/amd64/include/proc.h     Sat Feb 25 13:34:21 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.21 2017/02/23 03:34:22 kamil Exp $  */
+/*     $NetBSD: proc.h,v 1.22 2017/02/25 13:34:21 kamil Exp $  */
 
 /*
  * Copyright (c) 1991 Regents of the University of California.
@@ -38,7 +38,6 @@
 
 #include <machine/frame.h>
 #include <machine/pcb.h>
-#include <x86/dbregs.h>
 
 /*
  * Machine-dependent part of the lwp structure for amd64.
diff -r 290e444545c0 -r 97d637275f9e sys/arch/i386/include/proc.h
--- a/sys/arch/i386/include/proc.h      Sat Feb 25 12:03:57 2017 +0000
+++ b/sys/arch/i386/include/proc.h      Sat Feb 25 13:34:21 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.44 2017/02/23 03:34:22 kamil Exp $  */
+/*     $NetBSD: proc.h,v 1.45 2017/02/25 13:34:21 kamil Exp $  */
 
 /*
  * Copyright (c) 1991 Regents of the University of California.
@@ -36,7 +36,6 @@
 
 #include <machine/frame.h>
 #include <machine/pcb.h>
-#include <x86/dbregs.h>
 
 /*
  * Machine-dependent part of the lwp structure for i386.



Home | Main Index | Thread Index | Old Index