Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111570861
D34830.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
618 B
Referenced Files
None
Subscribers
None
D34830.diff
View Options
diff --git a/sys/x86/isa/clock.c b/sys/x86/isa/clock.c
--- a/sys/x86/isa/clock.c
+++ b/sys/x86/isa/clock.c
@@ -42,6 +42,11 @@
* Routines to handle clock hardware.
*/
+#ifdef __amd64__
+#define DEV_APIC
+#else
+#include "opt_apic.h"
+#endif
#include "opt_clock.h"
#include "opt_isa.h"
@@ -415,7 +420,9 @@
td = curthread;
tsc_calibrate();
+#ifdef DEV_APIC
lapic_calibrate_timer();
+#endif
cpu_initclocks_bsp();
CPU_FOREACH(i) {
if (i == 0)
@@ -431,7 +438,9 @@
thread_unlock(td);
#else
tsc_calibrate();
+#ifdef DEV_APIC
lapic_calibrate_timer();
+#endif
cpu_initclocks_bsp();
#endif
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 10:13 AM (11 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17012557
Default Alt Text
D34830.diff (618 B)
Attached To
Mode
D34830: i386: Fix the nodevice apic build
Attached
Detach File
Event Timeline
Log In to Comment