Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102746842
D42446.id.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
D42446.id.diff
View Options
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -338,16 +338,6 @@
return (FALSE);
}
-#if !defined(DIAGNOSTIC)
-#ifdef __GNUC_GNU_INLINE__
-#define PMAP_INLINE __attribute__((__gnu_inline__)) inline
-#else
-#define PMAP_INLINE extern inline
-#endif
-#else
-#define PMAP_INLINE
-#endif
-
#ifdef PV_STATS
#define PV_STAT(x) do { x ; } while (0)
#else
@@ -1560,7 +1550,7 @@
NPDPEPGSHIFT + NPML4EPGSHIFT)) - 1) << 3;
vm_offset_t PTmap __read_mostly = (vm_offset_t)P4Tmap;
-PMAP_INLINE pt_entry_t *
+pt_entry_t *
vtopte(vm_offset_t va)
{
KASSERT(va >= VM_MAXUSER_ADDRESS, ("vtopte on a uva/gpa 0x%0lx", va));
@@ -3623,7 +3613,7 @@
}
}
-PMAP_INLINE void
+void
pmap_invalidate_cache(void)
{
@@ -3980,7 +3970,7 @@
* Add a wired page to the kva.
* Note: not SMP coherent.
*/
-PMAP_INLINE void
+void
pmap_kenter(vm_offset_t va, vm_paddr_t pa)
{
pt_entry_t *pte;
@@ -4006,7 +3996,7 @@
* Remove a page from the kernel pagetables.
* Note: not SMP coherent.
*/
-PMAP_INLINE void
+void
pmap_kremove(vm_offset_t va)
{
pt_entry_t *pte;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 3:54 PM (19 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14681791
Default Alt Text
D42446.id.diff (1 KB)
Attached To
Mode
D42446: amd64: Remove PMAP_INLINE
Attached
Detach File
Event Timeline
Log In to Comment