mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue