diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2011-09-15 09:54:07 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2011-09-15 09:54:07 +0000 |
commit | 20aee906b466e9ddb187ddc9c0fcc43cef9d0276 (patch) | |
tree | 6d22d8dea12adcbcb386e548e7d86c6e3c8a89e9 | |
parent | 7a1c55c3807157e40e10fe442367265acd63e14c (diff) | |
download | src-20aee906b466e9ddb187ddc9c0fcc43cef9d0276.tar.gz src-20aee906b466e9ddb187ddc9c0fcc43cef9d0276.zip |
Put amd64_syscall() prototype in md_var.h.
Requested by: jhb
Reviewed by: alc, jhb
Approved by: re (bz)
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=225576
-rw-r--r-- | sys/amd64/amd64/trap.c | 1 | ||||
-rw-r--r-- | sys/amd64/include/md_var.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index bd75209f43c9..16f151fce3ef 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -885,7 +885,6 @@ cpu_fetch_syscall_args(struct thread *td, struct syscall_args *sa) #include "../../kern/subr_syscall.c" -void amd64_syscall(struct thread *td, int traced); /* * syscall - system call request C handler * diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h index 88f3e1dbaed8..479c84e85f1e 100644 --- a/sys/amd64/include/md_var.h +++ b/sys/amd64/include/md_var.h @@ -75,6 +75,7 @@ struct fpreg; struct dbreg; struct dumperinfo; +void amd64_syscall(struct thread *td, int traced); void busdma_swi(void); void cpu_setregs(void); void doreti_iret(void) __asm(__STRING(doreti_iret)); |