| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2012-2016, 2018-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2012-2016, 2018-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | static int wait_for_job_fault(struct kbase_device *kbdev) |
|---|
| 89 | 89 | { |
|---|
| 90 | | -#if KERNEL_VERSION(4, 7, 0) <= LINUX_VERSION_CODE && \ |
|---|
| 91 | | - KERNEL_VERSION(4, 15, 0) > LINUX_VERSION_CODE |
|---|
| 90 | +#if KERNEL_VERSION(4, 15, 0) > LINUX_VERSION_CODE |
|---|
| 92 | 91 | int ret = wait_event_interruptible_timeout(kbdev->job_fault_wq, |
|---|
| 93 | 92 | kbase_is_job_fault_event_pending(kbdev), |
|---|
| 94 | 93 | msecs_to_jiffies(2000)); |
|---|