Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115568387
D44766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
D44766.diff
View Options
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -157,6 +157,9 @@
MALLOC_DECLARE(M_CACHE);
MALLOC_DECLARE(M_DEVBUF);
+MALLOC_DECLARE(M_PARGS);
+MALLOC_DECLARE(M_SESSION);
+MALLOC_DECLARE(M_SUBPROC);
MALLOC_DECLARE(M_TEMP);
/*
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -938,12 +938,6 @@
#define SINGLE_BOUNDARY 2
#define SINGLE_ALLPROC 3
-#ifdef MALLOC_DECLARE
-MALLOC_DECLARE(M_PARGS);
-MALLOC_DECLARE(M_SESSION);
-MALLOC_DECLARE(M_SUBPROC);
-#endif
-
#define FOREACH_PROC_IN_SYSTEM(p) \
LIST_FOREACH((p), &allproc, p_list)
#define FOREACH_THREAD_IN_PROC(p, td) \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 11:06 AM (11 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17803119
Default Alt Text
D44766.diff (686 B)
Attached To
Mode
D44766: sys/malloc.h: move sys/proc.h MALLOC_DECLAREs here
Attached
Detach File
Event Timeline
Log In to Comment