diff options
author | marcel <marcel@FreeBSD.org> | 2003-11-12 03:24:34 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-11-12 03:24:34 +0000 |
commit | 7a2fc0040622475f13baf395a138f584de895a71 (patch) | |
tree | 9c9027e2a9db40eef03af05a42d685e3ae71e406 /sys | |
parent | 77ed6e2d1cbbf9a46dd5ae6d089eeb45ab81fbcb (diff) | |
download | FreeBSD-src-7a2fc0040622475f13baf395a138f584de895a71.zip FreeBSD-src-7a2fc0040622475f13baf395a138f584de895a71.tar.gz |
Remove ia64_highfp_load() now that it's unused.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/machdep.c | 14 | ||||
-rw-r--r-- | sys/ia64/include/md_var.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index 34cdff1..2724b44 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -1361,20 +1361,6 @@ ia64_highfp_drop(struct thread *td) } int -ia64_highfp_load(struct thread *td) -{ - struct pcb *pcb; - - pcb = td->td_pcb; - KASSERT(pcb->pcb_fpcpu == NULL, ("FP race on thread")); - KASSERT(PCPU_GET(fpcurthread) == NULL, ("FP race on pcpu")); - restore_high_fp(&pcb->pcb_high_fp); - PCPU_SET(fpcurthread, td); - pcb->pcb_fpcpu = pcpup; - return (1); -} - -int ia64_highfp_save(struct thread *td) { struct pcb *pcb; diff --git a/sys/ia64/include/md_var.h b/sys/ia64/include/md_var.h index 106f441..a9a3dfd 100644 --- a/sys/ia64/include/md_var.h +++ b/sys/ia64/include/md_var.h @@ -57,7 +57,6 @@ void cpu_mp_add(u_int, u_int, u_int); int do_ast(struct trapframe *); int ia64_count_cpus(void); int ia64_highfp_drop(struct thread *); -int ia64_highfp_load(struct thread *); int ia64_highfp_save(struct thread *); void ia64_init(void); void ia64_probe_sapics(void); |