| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2019-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2019-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 |
|---|
| .. | .. |
|---|
| 30 | 30 | #if IS_ENABLED(CONFIG_DEBUG_FS) |
|---|
| 31 | 31 | |
|---|
| 32 | 32 | /** |
|---|
| 33 | | - * kbasep_csf_kcpu_debugfs_print_queue() - Print additional info for KCPU |
|---|
| 33 | + * kbasep_csf_kcpu_debugfs_print_cqs_waits() - Print additional info for KCPU |
|---|
| 34 | 34 | * queues blocked on CQS wait commands. |
|---|
| 35 | 35 | * |
|---|
| 36 | 36 | * @file: The seq_file to print to |
|---|
| .. | .. |
|---|
| 167 | 167 | void kbase_csf_kcpu_debugfs_init(struct kbase_context *kctx) |
|---|
| 168 | 168 | { |
|---|
| 169 | 169 | struct dentry *file; |
|---|
| 170 | | -#if (KERNEL_VERSION(4, 7, 0) <= LINUX_VERSION_CODE) |
|---|
| 171 | 170 | const mode_t mode = 0444; |
|---|
| 172 | | -#else |
|---|
| 173 | | - const mode_t mode = 0400; |
|---|
| 174 | | -#endif |
|---|
| 175 | 171 | |
|---|
| 176 | 172 | if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) |
|---|
| 177 | 173 | return; |
|---|