Re: [PATCH 1/3] shm: Make exit_shm work proportional to task activity

From: Andrew Morton
Date: Wed Jun 18 2014 - 19:02:11 EST


On Tue, 17 Jun 2014 12:27:45 -0500 Jack Miller <millerjo@xxxxxxxxxx> wrote:

> --- a/include/linux/shm.h
> +++ b/include/linux/shm.h
> @@ -1,6 +1,7 @@
> #ifndef _LINUX_SHM_H_
> #define _LINUX_SHM_H_
>
> +#include <linux/list.h>

yup. shm.h only compiles by sheer luck - it uses file, task_struct,
user_struct, time_t, pid_t, __user, and probably other things without
including the required header files.

--
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/