Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108572714
D37438.id113276.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
D37438.id113276.diff
View Options
diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c
--- a/sys/arm64/arm64/pmap.c
+++ b/sys/arm64/arm64/pmap.c
@@ -180,8 +180,10 @@
#ifdef PV_STATS
#define PV_STAT(x) do { x ; } while (0)
+#define __pvused
#else
#define PV_STAT(x) do { } while (0)
+#define __pvused __unused
#endif
#define pmap_l0_pindex(v) (NUL2E + NUL1E + ((v) >> L0_SHIFT))
@@ -5405,7 +5407,8 @@
struct rwlock *lock;
int64_t bit;
uint64_t inuse, bitmask;
- int allfree, field, freed, i, idx, lvl;
+ int allfree, field, i, idx, lvl;
+ int freed __pvused;
vm_paddr_t pa;
lock = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 12:21 PM (4 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16195935
Default Alt Text
D37438.id113276.diff (583 B)
Attached To
Mode
D37438: arm64/pmap: freed only used for PV_STATS
Attached
Detach File
Event Timeline
Log In to Comment