mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
@@ -244,8 +244,8 @@ static void CheckGetAffinity(
|
||||
rtems_status_code sc;
|
||||
cpu_set_t set[ 2 ];
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
|
||||
if ( attr->can_get_affinity ) {
|
||||
CPU_ZERO_S( sizeof( ctx->cpuset_obj ), ctx->cpuset_obj );
|
||||
@@ -269,7 +269,7 @@ static void CheckGetAffinity(
|
||||
T_true( CPU_EQUAL_S( sizeof( set ), ctx->cpuset_obj, set ) );
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
|
||||
static void RtemsIntrReqGetAffinity_Pre_Vector_Prepare(
|
||||
@@ -570,8 +570,8 @@ static void RtemsIntrReqGetAffinity_Action(
|
||||
ctx->vector = BSP_INTERRUPT_VECTOR_COUNT;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
|
||||
CPU_FILL_S( sizeof( ctx->cpuset_obj ), ctx->cpuset_obj );
|
||||
|
||||
@@ -592,7 +592,7 @@ static void RtemsIntrReqGetAffinity_Action(
|
||||
|
||||
T_true( CPU_EQUAL_S( sizeof( set ), ctx->cpuset_obj, set ) );
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user