Page MenuHomeFreeBSD

D30590.diff
No OneTemporary

D30590.diff

diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -1507,7 +1507,7 @@
.ssd_gran = 1 },
};
-uintptr_t setidt_disp;
+size_t setidt_disp;
void
setidt(int idx, inthand_t *func, int typ, int dpl, int selec)
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h
--- a/sys/i386/include/md_var.h
+++ b/sys/i386/include/md_var.h
@@ -48,7 +48,7 @@
extern int sz_lcall_tramp;
#endif
extern vm_offset_t proc0kstack;
-extern uintptr_t setidt_disp;
+extern size_t setidt_disp;
struct segment_descriptor;
union savefpu;
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -2127,10 +2127,6 @@
#endif /* SMP */
-#ifdef __i386__
-extern uintptr_t setidt_disp;
-#endif
-
/*
* Since the IDT is shared by all CPUs the IPI slot update needs to be globally
* visible.

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 24, 6:46 PM (7 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32086921
Default Alt Text
D30590.diff (940 B)

Event Timeline