Re: [PATCH] mm: split out anon_vma declarations to separate header

From: Stephen Rothwell
Date: Sat Dec 04 2021 - 18:59:35 EST


Hi Arnd,

On Sat, 4 Dec 2021 18:42:17 +0100 Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>

> diff --git a/include/linux/anon_vma.h b/include/linux/anon_vma.h
> new file mode 100644
> index 000000000000..5ce8b5be31ae
> --- /dev/null
> +++ b/include/linux/anon_vma.h
> @@ -0,0 +1,55 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +#ifndef _LINUX_ANON_VMA_H
> +#define _LINUX_ANON_VMA_H
> +
> +#include <linux/mm_types.h>
> +

Shouldn't this also include string.h to fix the original problem?

--
Cheers,
Stephen Rothwell

Attachment: pgpwrB3Sey_fK.pgp
Description: OpenPGP digital signature