Page MenuHomeFreeBSD

D42287.diff
No OneTemporary

D42287.diff

diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c
--- a/sys/riscv/riscv/pmap.c
+++ b/sys/riscv/riscv/pmap.c
@@ -173,16 +173,6 @@
#define NUL1E (Ln_ENTRIES * NUL0E)
#define NUL2E (Ln_ENTRIES * NUL1E)
-#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)
#define __pv_stat_used
@@ -1060,7 +1050,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 *l3;

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 3:49 PM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14681744
Default Alt Text
D42287.diff (677 B)

Event Timeline