1/* Public domain. */ 2 3#ifndef _LINUX_SCHED_MM_H 4#define _LINUX_SCHED_MM_H 5 6#include <sys/types.h> 7#include <sys/systm.h> 8#include <sys/malloc.h> 9 10static inline void 11might_alloc(const unsigned int flags) 12{ 13 if (flags & M_WAITOK) 14 assertwaitok(); 15} 16 17#endif 18