Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86 Remove unused x86/include/tprof.h, there should...
details: https://anonhg.NetBSD.org/src/rev/1cb3560da69a
branches: trunk
changeset: 320648:1cb3560da69a
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Jul 15 06:14:21 2018 +0000
description:
Remove unused x86/include/tprof.h, there should be no need for this kind
of includes.
diffstat:
sys/arch/x86/include/tprof.h | 34 ----------------------------------
sys/arch/x86/x86/tprof_amdpmi.c | 5 ++---
sys/arch/x86/x86/tprof_pmi.c | 5 ++---
3 files changed, 4 insertions(+), 40 deletions(-)
diffs (90 lines):
diff -r b64728401083 -r 1cb3560da69a sys/arch/x86/include/tprof.h
--- a/sys/arch/x86/include/tprof.h Sun Jul 15 06:14:13 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-/* $NetBSD: tprof.h,v 1.2 2009/02/24 06:03:54 yamt Exp $ */
-
-/*-
- * Copyright (c)2008 YAMAMOTO Takashi,
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#ifndef _X86_TPROF_H_
-#define _X86_TPROF_H_
-
-/* XXX nothing */
-
-#endif /* _X86_TPROF_H_ */
diff -r b64728401083 -r 1cb3560da69a sys/arch/x86/x86/tprof_amdpmi.c
--- a/sys/arch/x86/x86/tprof_amdpmi.c Sun Jul 15 06:14:13 2018 +0000
+++ b/sys/arch/x86/x86/tprof_amdpmi.c Sun Jul 15 06:14:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_amdpmi.c,v 1.8 2018/07/13 07:56:29 maxv Exp $ */
+/* $NetBSD: tprof_amdpmi.c,v 1.9 2018/07/15 06:14:21 maxv Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_amdpmi.c,v 1.8 2018/07/13 07:56:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_amdpmi.c,v 1.9 2018/07/15 06:14:21 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -70,7 +70,6 @@
#include <uvm/uvm.h> /* VM_MIN_KERNEL_ADDRESS */
-#include <x86/tprof.h>
#include <x86/nmi.h>
#include <machine/cpufunc.h>
diff -r b64728401083 -r 1cb3560da69a sys/arch/x86/x86/tprof_pmi.c
--- a/sys/arch/x86/x86/tprof_pmi.c Sun Jul 15 06:14:13 2018 +0000
+++ b/sys/arch/x86/x86/tprof_pmi.c Sun Jul 15 06:14:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_pmi.c,v 1.15 2018/07/13 07:56:29 maxv Exp $ */
+/* $NetBSD: tprof_pmi.c,v 1.16 2018/07/15 06:14:21 maxv Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_pmi.c,v 1.15 2018/07/13 07:56:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_pmi.c,v 1.16 2018/07/15 06:14:21 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -71,7 +71,6 @@
#include <uvm/uvm.h> /* VM_MIN_KERNEL_ADDRESS */
-#include <x86/tprof.h>
#include <x86/nmi.h>
#include <machine/cpufunc.h>
Home |
Main Index |
Thread Index |
Old Index