From 7a2fc0040622475f13baf395a138f584de895a71 Mon Sep 17 00:00:00 2001 From: marcel Date: Wed, 12 Nov 2003 03:24:34 +0000 Subject: [PATCH] Remove ia64_highfp_load() now that it's unused. --- sys/ia64/ia64/machdep.c | 14 -------------- sys/ia64/include/md_var.h | 1 - 2 files changed, 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 @@ -1360,20 +1360,6 @@ ia64_highfp_drop(struct thread *td) return (1); } -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) { 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);