Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109363978
D9657.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9657.diff
View Options
Index: head/sys/x86/x86/x86_mem.c
===================================================================
--- head/sys/x86/x86/x86_mem.c
+++ head/sys/x86/x86/x86_mem.c
@@ -303,19 +303,13 @@
* Update running CPU(s) MTRRs to match the ranges in the descriptor
* list.
*
- * XXX Must be called with interrupts enabled.
+ * Must be called with interrupts enabled.
*/
static void
x86_mrstore(struct mem_range_softc *sc)
{
-#ifdef SMP
smp_rendezvous(NULL, x86_mrstoreone, NULL, sc);
-#else
- disable_intr(); /* disable interrupts */
- x86_mrstoreone(sc);
- enable_intr();
-#endif
}
/*
@@ -710,19 +704,13 @@
* Re-initialise running CPU(s) MTRRs to match the ranges in the descriptor
* list.
*
- * XXX Must be called with interrupts enabled.
+ * Must be called with interrupts enabled.
*/
static void
x86_mrreinit(struct mem_range_softc *sc)
{
-#ifdef SMP
- smp_rendezvous(NULL, (void *)x86_mrAPinit, NULL, sc);
-#else
- disable_intr(); /* disable interrupts */
- x86_mrAPinit(sc);
- enable_intr();
-#endif
+ smp_rendezvous(NULL, (void (*)(void *))x86_mrAPinit, NULL, sc);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 2:33 AM (5 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16465412
Default Alt Text
D9657.diff (1 KB)
Attached To
Mode
D9657: More cleanups of x86_mem.c.
Attached
Detach File
Event Timeline
Log In to Comment