summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2016-05-09 22:45:07 +0000
committerderaadt <deraadt@openbsd.org>2016-05-09 22:45:07 +0000
commit75217891a957d5146c59c3811fe6f61ea411ae6b (patch)
tree4d00cf4a68e210f6fe194146d02c34a364ca32cc
parentin the http redirect example, also include the requested url instead (diff)
downloadwireguard-openbsd-75217891a957d5146c59c3811fe6f61ea411ae6b.tar.xz
wireguard-openbsd-75217891a957d5146c59c3811fe6f61ea411ae6b.zip
2nd identical definition of PROC_PC macro is not needed
from miod
-rw-r--r--sys/arch/amd64/include/cpu.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index c82928f1d1f..809766aa328 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.100 2015/12/06 23:41:32 guenther Exp $ */
+/* $OpenBSD: cpu.h,v 1.101 2016/05/09 22:45:07 deraadt Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -297,11 +297,6 @@ extern struct cpu_info cpu_info_primary;
#define CLKF_INTR(frame) (curcpu()->ci_idepth > 1)
/*
- * This is used during profiling to integrate system time.
- */
-#define PROC_PC(p) ((p)->p_md.md_regs->tf_rip)
-
-/*
* Give a profiling tick to the current process when the user profiling
* buffer pages are invalid. On the i386, request an ast to send us
* through trap(), marking the proc as needing a profiling tick.