Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157930467
D56392.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
552 B
Referenced Files
None
Subscribers
None
D56392.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -80,6 +80,9 @@
CTASSERT((__GFP_DMA32 & GFP_NATIVE_MASK) == 0);
CTASSERT((__GFP_BITS_MASK & GFP_NATIVE_MASK) == GFP_NATIVE_MASK);
+#define __default_gfp(_discard, _arg_or_default, ...) _arg_or_default
+#define default_gfp(...) __default_gfp(, ##__VA_ARGS__, GFP_KERNEL)
+
struct page_frag_cache {
void *va;
int pagecnt_bias;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 27, 2:19 PM (10 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31625488
Default Alt Text
D56392.diff (552 B)
Attached To
Mode
D56392: LinuxKPI: add default_gfp()
Attached
Detach File
Event Timeline
Log In to Comment