diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1288-drm-amdkfd-Add-missing-headers-due-to-header-reorg.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1288-drm-amdkfd-Add-missing-headers-due-to-header-reorg.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1288-drm-amdkfd-Add-missing-headers-due-to-header-reorg.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1288-drm-amdkfd-Add-missing-headers-due-to-header-reorg.patch new file mode 100644 index 00000000..1402dd94 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1288-drm-amdkfd-Add-missing-headers-due-to-header-reorg.patch @@ -0,0 +1,57 @@ +From 2ce8185a083f75d7bfc325966ab98b126913216c Mon Sep 17 00:00:00 2001 +From: Kent Russell <kent.russell@amd.com> +Date: Thu, 27 Apr 2017 10:23:01 -0400 +Subject: [PATCH 1288/4131] drm/amdkfd: Add missing headers due to header reorg + +Some functions are split into sched/mm.h or sched/task.h now, so update +our header requirements accordingly +[4.11] + +Change-Id: I04bf7288f853d32a91ce86639d70d28417d22abb +Signed-off-by: Kent Russell <kent.russell@amd.com> +--- + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1 + + drivers/gpu/drm/amd/amdkfd/kfd_events.c | 2 +- + drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 + + 3 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +index 79d8481..6a41746 100644 +--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c ++++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +@@ -25,6 +25,7 @@ + #include <linux/err.h> + #include <linux/fs.h> + #include <linux/sched.h> ++#include <linux/sched/mm.h> + #include <linux/slab.h> + #include <linux/uaccess.h> + #include <linux/compat.h> +diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.c b/drivers/gpu/drm/amd/amdkfd/kfd_events.c +index 85de9b5..39ecb07 100644 +--- a/drivers/gpu/drm/amd/amdkfd/kfd_events.c ++++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.c +@@ -25,7 +25,7 @@ + #include <linux/types.h> + #include <linux/sched/signal.h> + #include <linux/uaccess.h> +-#include <linux/mm.h> ++#include <linux/sched/mm.h> + #include <linux/mman.h> + #include <linux/memory.h> + #include "kfd_priv.h" +diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c +index 36a678a..2d80800 100644 +--- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c ++++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c +@@ -24,6 +24,7 @@ + #include <linux/log2.h> + #include <linux/sched.h> + #include <linux/sched/mm.h> ++#include <linux/sched/task.h> + #include <linux/slab.h> + #if defined(CONFIG_AMD_IOMMU_V2_MODULE) || defined(CONFIG_AMD_IOMMU_V2) + #include <linux/amd-iommu.h> +-- +2.7.4 + |