summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-12-06 00:38:04 +0000
committerpeter <peter@FreeBSD.org>2000-12-06 00:38:04 +0000
commit2d9ab1884912c95652c1b52b3183db73d9451769 (patch)
tree6cf011ea2772104d676af0247ac1050eb28efc80 /sys
parent5a90ca8753b9f60d5bcb2784a25b468c51cfe8a0 (diff)
downloadFreeBSD-src-2d9ab1884912c95652c1b52b3183db73d9451769.zip
FreeBSD-src-2d9ab1884912c95652c1b52b3183db73d9451769.tar.gz
GC unused assembler function apic_eoi()
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/include/smp.h1
-rw-r--r--sys/i386/include/smp.h1
-rw-r--r--sys/i386/isa/apic_ipl.s7
-rw-r--r--sys/sys/smp.h1
4 files changed, 0 insertions, 10 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h
index 673a368..b2df060 100644
--- a/sys/amd64/include/smp.h
+++ b/sys/amd64/include/smp.h
@@ -59,7 +59,6 @@ extern volatile u_int resched_cpus;
extern void (*cpustop_restartfunc) __P((void));
/* functions in apic_ipl.s */
-void apic_eoi __P((void));
u_int io_apic_read __P((int, int));
void io_apic_write __P((int, int, u_int));
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index 673a368..b2df060 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/smp.h
@@ -59,7 +59,6 @@ extern volatile u_int resched_cpus;
extern void (*cpustop_restartfunc) __P((void));
/* functions in apic_ipl.s */
-void apic_eoi __P((void));
u_int io_apic_read __P((int, int));
void io_apic_write __P((int, int, u_int));
diff --git a/sys/i386/isa/apic_ipl.s b/sys/i386/isa/apic_ipl.s
index 82b1487..774883b 100644
--- a/sys/i386/isa/apic_ipl.s
+++ b/sys/i386/isa/apic_ipl.s
@@ -159,10 +159,3 @@ ENTRY(io_apic_write)
movl 12(%esp), %eax /* target register value */
movl %eax, 16(%edx) /* write the APIC register data */
ret /* %eax = void */
-
-/*
- * Send an EOI to the local APIC.
- */
-ENTRY(apic_eoi)
- movl $0, _lapic+0xb0
- ret
diff --git a/sys/sys/smp.h b/sys/sys/smp.h
index 673a368..b2df060 100644
--- a/sys/sys/smp.h
+++ b/sys/sys/smp.h
@@ -59,7 +59,6 @@ extern volatile u_int resched_cpus;
extern void (*cpustop_restartfunc) __P((void));
/* functions in apic_ipl.s */
-void apic_eoi __P((void));
u_int io_apic_read __P((int, int));
void io_apic_write __P((int, int, u_int));
OpenPOWER on IntegriCloud