From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752050AbdJZIoQ (ORCPT ); Thu, 26 Oct 2017 04:44:16 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:51900 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbdJZIni (ORCPT ); Thu, 26 Oct 2017 04:43:38 -0400 X-Google-Smtp-Source: ABhQp+TKM3o7EFheS278/Iz4vBxj3ve7H4Li2gNPbLsHOh5VBx039fZrO+t4aAdbkRoDMdQt/ZXxRw== From: Oded Gabbay To: monstr@monstr.eu Cc: linux-kernel@vger.kernel.org Subject: [PATCH] microblaze: add missing include to mmu_context_mm.h Date: Thu, 26 Oct 2017 11:43:34 +0300 Message-Id: <20171026084334.30712-1-oded.gabbay@gmail.com> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 generate an error. An example of that is drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c This patch adds an include of linux/sched.h to mmu_context_mm.h to avoid such errors. Signed-off-by: Oded Gabbay --- arch/microblaze/include/asm/mmu_context_mm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/include/asm/mmu_context_mm.h b/arch/microblaze/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 @@ #include #include +#include #include #include -- 2.13.6