Page MenuHomeFreeBSD

D56392.diff
No OneTemporary

D56392.diff

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

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)

Event Timeline