diff options
author | kib <kib@FreeBSD.org> | 2011-09-15 09:54:07 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-09-15 09:54:07 +0000 |
commit | fdfe4f8a66982f100ee97fd61d73bd400cac90ce (patch) | |
tree | 6d22d8dea12adcbcb386e548e7d86c6e3c8a89e9 | |
parent | 747c6e1d12491b777c235cc4aea38bcaac9f2722 (diff) | |
download | FreeBSD-src-fdfe4f8a66982f100ee97fd61d73bd400cac90ce.zip FreeBSD-src-fdfe4f8a66982f100ee97fd61d73bd400cac90ce.tar.gz |
Put amd64_syscall() prototype in md_var.h.
Requested by: jhb
Reviewed by: alc, jhb
Approved by: re (bz)
MFC after: 2 weeks
-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 bd75209..16f151f 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 88f3e1d..479c84e 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)); |