diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-09 22:45:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-05-09 22:45:08 +0000 |
commit | 816715af9898525212587c3d1266d66bfbaf837f (patch) | |
tree | 916ba3f55304d8529fbd3c929608778f1696e486 /sys/arch | |
parent | 016903f1ad9571bf92d13d13c7a00ca23b5c0a2f (diff) |
2nd identical definition of PROC_PC macro is not needed
from miod
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/include/cpu.h | 7 |
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. |