linuxkpi: Define might_alloc()
... as a no-op. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38146
This commit is contained in:
parent
e400b69599
commit
19be627cfd
@ -348,6 +348,11 @@ void lkpi_unmap_mapping_range(void *obj, loff_t const holebegin __unused,
|
||||
|
||||
void vma_set_file(struct vm_area_struct *vma, struct linux_file *file);
|
||||
|
||||
static inline void
|
||||
might_alloc(gfp_t gfp_mask __unused)
|
||||
{
|
||||
}
|
||||
|
||||
#define is_cow_mapping(flags) (false)
|
||||
|
||||
#endif /* _LINUXKPI_LINUX_MM_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user