From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752218AbdJ3NS7 (ORCPT ); Mon, 30 Oct 2017 09:18:59 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:48131 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932156AbdJ3NS4 (ORCPT ); Mon, 30 Oct 2017 09:18:56 -0400 X-Google-Smtp-Source: ABhQp+QCp/BLS3zMHY6CgSBKqPRc44VDXnpROwDtwPXuxQem3vuoRv16PvGODNvdMwnYCkklLAEilg== Reply-To: monstr@monstr.eu Subject: Re: [PATCH] microblaze: add missing include to mmu_context_mm.h To: Oded Gabbay Cc: linux-kernel@vger.kernel.org References: <20171026084334.30712-1-oded.gabbay@gmail.com> From: Michal Simek Message-ID: Date: Mon, 30 Oct 2017 14:18:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171026084334.30712-1-oded.gabbay@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IP4nEIek8EscuwQhucAx4MU6nkt9ON0Da" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IP4nEIek8EscuwQhucAx4MU6nkt9ON0Da Content-Type: multipart/mixed; boundary="ujSa8Wn4Qqrn1kPUHoUKkH3Q3ddEp3p7q"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: Oded Gabbay Cc: linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH] microblaze: add missing include to mmu_context_mm.h References: <20171026084334.30712-1-oded.gabbay@gmail.com> In-Reply-To: <20171026084334.30712-1-oded.gabbay@gmail.com> --ujSa8Wn4Qqrn1kPUHoUKkH3Q3ddEp3p7q Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 26.10.2017 10:43, Oded Gabbay wrote: > mmu_context_mm.h is using struct task_struct, which is defined in > linux/sched.h. Source files that include mm_context_mm.h > (directly or indirectly) and doesn't include linux/sched.h will generat= e > an error. An example of that is drivers/gpu/drm/amd/amdgpu/amdgpu_amdkf= d.c >=20 > This patch adds an include of linux/sched.h to mmu_context_mm.h to avoi= d > such errors. >=20 > Signed-off-by: Oded Gabbay > --- > arch/microblaze/include/asm/mmu_context_mm.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/arch/microblaze/include/asm/mmu_context_mm.h b/arch/microb= laze/include/asm/mmu_context_mm.h > index 99472d2ca340..97559fe0b953 100644 > --- a/arch/microblaze/include/asm/mmu_context_mm.h > +++ b/arch/microblaze/include/asm/mmu_context_mm.h > @@ -13,6 +13,7 @@ > =20 > #include > #include > +#include > =20 > #include > #include >=20 Applied to next. Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs --ujSa8Wn4Qqrn1kPUHoUKkH3Q3ddEp3p7q-- --IP4nEIek8EscuwQhucAx4MU6nkt9ON0Da Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAln3JrkACgkQykllyylKDCG4HQCdFO8p2CYkKS05792My5dvllP8 wY4AmwYsanAtATkuaIGZfPWlGmz53cik =kFbP -----END PGP SIGNATURE----- --IP4nEIek8EscuwQhucAx4MU6nkt9ON0Da--