From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751857AbdIJUmr (ORCPT ); Sun, 10 Sep 2017 16:42:47 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34698 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbdIJUmp (ORCPT ); Sun, 10 Sep 2017 16:42:45 -0400 X-Google-Smtp-Source: ADKCNb6OJiULO4kISztguqYjjn1qjeEPeTHdKVxkZSU/Ll1kYfutnsBObiNpc3Jb9N4dGQrRGqOmNA== From: Guenter Roeck To: Richard Henderson Cc: Ivan Kokshaysky , Matt Turner , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck Subject: [PATCH] alpha: mmu_context: Add missing include of linux/sched.h Date: Sun, 10 Sep 2017 13:42:42 -0700 Message-Id: <1505076162-18159-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following build error. In file included from include/linux/mmu_context.h:4:0, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: arch/alpha/include/asm/mmu_context.h: In function 'ev5_switch_mm': arch/alpha/include/asm/mmu_context.h:160:2: error: implicit declaration of function 'task_thread_info' Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD") Signed-off-by: Guenter Roeck --- "Exposed-by:" instead of "Fixes:" might be more appropriate. arch/alpha/include/asm/mmu_context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/alpha/include/asm/mmu_context.h b/arch/alpha/include/asm/mmu_context.h index 384bd47b5187..45c020a0fe76 100644 --- a/arch/alpha/include/asm/mmu_context.h +++ b/arch/alpha/include/asm/mmu_context.h @@ -8,6 +8,7 @@ */ #include +#include #include #include -- 2.7.4