summaryrefslogtreecommitdiffstats
path: root/src/occ_405/proc/proc_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/proc/proc_data.c')
-rwxr-xr-xsrc/occ_405/proc/proc_data.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/occ_405/proc/proc_data.c b/src/occ_405/proc/proc_data.c
index e8e9eba..5cefc17 100755
--- a/src/occ_405/proc/proc_data.c
+++ b/src/occ_405/proc/proc_data.c
@@ -190,9 +190,17 @@ void task_core_data( task_t * i_task )
//responsible for clearing the bit later on.
G_updated_core_mask |= (CORE0_PRESENT_MASK >> (l_bulk_core_data_ptr->current_core));
- // Presumptively clear the empath error mask
- G_empath_error_core_mask &=
+ // set or clear the empath error mask
+ if(l_temp->empathValid)
+ {
+ G_empath_error_core_mask &=
~(CORE0_PRESENT_MASK >> (l_bulk_core_data_ptr->current_core));
+ }
+ else
+ {
+ G_empath_error_core_mask |=
+ (CORE0_PRESENT_MASK >> (l_bulk_core_data_ptr->current_core));
+ }
}
// If the core is not present, then we need to point to the empty G_core_data
OpenPOWER on IntegriCloud