diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-11-12 03:24:34 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-11-12 03:24:34 +0000 |
| commit | eea3bbdff8a889109a3ec09a93221e9d3b75be45 (patch) | |
| tree | 9c9027e2a9db40eef03af05a42d685e3ae71e406 /sys | |
| parent | eca8a663d442468f64e21ed869817b9048ab5a7b (diff) | |
Notes
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 34cdff18f36e..2724b44e8d0e 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 106f4417e966..a9a3dfda6760 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); |
