Skip to content

Commit c9da301

Browse files
nordicjmrlubos
authored andcommitted
tests: benchmark: kernel_freq_change: Remove NIOS2 reference
Removes a refernce to an architecture that has been removed from zephyr. Also fixes the wrong license of this file which should have been licensed the way it was Signed-off-by: Jamie McCrae <[email protected]>
1 parent c208986 commit c9da301

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/ci/license_allow_list.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Apache-2.0: |
4747
^nrf/modules/trusted-firmware-m/fault.c
4848
^nrf/modules/openthread/
4949
^nrf/samples/net/http_server/src/main.c
50+
^nrf/tests/benchmarks/kernel_freq_change/src/kernel_context.c
5051
^nrf/tests/subsys/suit/common/tls_config/user-tls-conf.h
5152
^nrf/subsys/settings/
5253
^nrf/tests/zephyr/subsys/settings/

tests/benchmarks/kernel_freq_change/src/kernel_context.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/*
2+
* Copyright (c) 2012-2015 Wind River Systems, Inc.
23
* Copyright (c) 2025 Nordic Semiconductor ASA
34
*
4-
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
* SPDX-License-Identifier: Apache-2.0
56
*/
67

78
#include <zephyr/kernel.h>
@@ -49,13 +50,10 @@ static void busy_wait_thread(void *mseconds, void *arg2, void *arg3)
4950

5051
k_busy_wait(usecs);
5152

52-
/* FIXME: Broken on Nios II, see #22956 */
53-
#ifndef CONFIG_NIOS2
5453
int key = arch_irq_lock();
5554

5655
k_busy_wait(usecs);
5756
arch_irq_unlock(key);
58-
#endif
5957

6058
/*
6159
* Ideally the test should verify that the correct number of ticks

0 commit comments

Comments
 (0)