Re: [PATCH v2] genalloc: Make the avail variable an atomic_long_t

From: Daniel Mentz
Date: Fri Oct 27 2017 - 16:25:50 EST


On Thu, Oct 26, 2017 at 9:04 AM, <sbates@xxxxxxxxxxxx> wrote:
> --- a/include/linux/genalloc.h
> +++ b/include/linux/genalloc.h
> @@ -32,6 +32,7 @@
>
> #include <linux/types.h>
> #include <linux/spinlock_types.h>
> +#include <linux/atomic.h>

Do we still need #include <linux/types.h> ? For me, it compiles without it.

Reviewed-by: Daniel Mentz <danielmentz@xxxxxxxxxx>