Page MenuHomeFreeBSD

D30673.id90675.diff
No OneTemporary

D30673.id90675.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h
--- a/sys/compat/linuxkpi/common/include/linux/mm.h
+++ b/sys/compat/linuxkpi/common/include/linux/mm.h
@@ -92,6 +92,9 @@
#define FAULT_FLAG_REMOTE (1 << 7)
#define FAULT_FLAG_INSTRUCTION (1 << 8)
+#define fault_flag_allow_retry_first(flags) \
+ (((flags) & (FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_TRIED)) == FAULT_FLAG_ALLOW_RETRY)
+
typedef int (*pte_fn_t)(linux_pte_t *, pgtable_t, unsigned long addr, void *data);
struct vm_area_struct {

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 8:44 AM (8 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33303249
Default Alt Text
D30673.id90675.diff (555 B)

Event Timeline