use GFP_ATOMIC in interrupt context

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2014-03-28 18:43:34 +09:00
parent ccd770ba24
commit b01b31f04d

View File

@ -284,7 +284,7 @@ int mcexec_syscall(struct mcctrl_channel *c, int pid, unsigned long arg)
if (!wqhln) {
retry_alloc:
wqhln = kmalloc(sizeof(*wqhln), GFP_KERNEL);
wqhln = kmalloc(sizeof(*wqhln), GFP_ATOMIC);
if (!wqhln) {
printk("WARNING: coudln't alloc wait queue head, retrying..\n");
goto retry_alloc;