File amd-build-fixes.diff of Package drm

---
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c |    2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
@@ -107,7 +107,7 @@ static int kfd_open(struct inode *inode,
 	if (iminor(inode) != 0)
 		return -ENODEV;
 
-	is_32bit_user_mode = in_compat_syscall();
+	is_32bit_user_mode = is_compat_task();
 
 	if (is_32bit_user_mode == true) {
 		dev_warn(kfd_device,
--- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
@@ -317,7 +317,7 @@ static struct kfd_process *create_proces
 		goto err_process_pqm_init;
 
 	/* init process apertures*/
-	process->is_32bit_user_mode = in_compat_syscall();
+	process->is_32bit_user_mode = is_compat_task();
 	if (kfd_init_apertures(process) != 0)
 		goto err_init_apretures;