Re: [PATCH] linux/uaccess.h needs to #include linux/kernel.h for might_sleep()

From: David Howells
Date: Tue Jun 21 2011 - 05:27:48 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> uaccess.h doesn't textually refer to might_sleep().

Good point. Whilst the error occurs in linux/uaccess.h, the actual problem is
in a #define in asm/uaccess.h.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/