From fad01e6cf95f98adaca3157faa8b96c19296a68e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Jun 2021 09:55:42 +0200 Subject: score: Add PER_CPU_DATA_NEED_INITIALIZATION() Make the initialization of the per-CPU data optional. Change license to BSD-2-Clause according to file history and re-licensing agreement. Update #3053. --- testsuites/sptests/sppercpudata01/init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuites/sptests/sppercpudata01/init.c') diff --git a/testsuites/sptests/sppercpudata01/init.c b/testsuites/sptests/sppercpudata01/init.c index 3d105ee61f..fbdf4c50ad 100644 --- a/testsuites/sptests/sppercpudata01/init.c +++ b/testsuites/sptests/sppercpudata01/init.c @@ -25,6 +25,8 @@ const char rtems_test_name[] = "SPPERCPUDATA 1"; +PER_CPU_DATA_NEED_INITIALIZATION(); + static RTEMS_ALIGNED(CPU_HEAP_ALIGNMENT) PER_CPU_DATA_ITEM(unsigned char, c) = 1; -- cgit v1.2.3