Commit ee563f35 authored by Jerome Hugues's avatar Jerome Hugues
Browse files

* Address compilation issues

    For openaadl/ocarina#244
parent 3969bbee
...@@ -78,7 +78,7 @@ int __po_hi_protected_lock (__po_hi_protected_t protected_id) ...@@ -78,7 +78,7 @@ int __po_hi_protected_lock (__po_hi_protected_t protected_id)
int __po_hi_protected_unlock (__po_hi_protected_t protected_id) int __po_hi_protected_unlock (__po_hi_protected_t protected_id)
{ {
__PO_HI_INSTRUMENTATION_VCD_WRITE("0l%d\n", protected_id); //__PO_HI_INSTRUMENTATION_VCD_WRITE("0l%d\n", protected_id);
if (__po_hi_mutex_unlock (&__po_hi_protected_mutexes[protected_id]) != __PO_HI_SUCCESS ) if (__po_hi_mutex_unlock (&__po_hi_protected_mutexes[protected_id]) != __PO_HI_SUCCESS )
{ {
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when unlock protected resource %d\n", protected_id); __PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when unlock protected resource %d\n", protected_id);
...@@ -150,7 +150,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p ...@@ -150,7 +150,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
case __PO_HI_MUTEX_REGULAR: case __PO_HI_MUTEX_REGULAR:
//case __PO_HI_PROTECTED_PCP: //case __PO_HI_PROTECTED_PCP:
//case __PO_HI_PROTECTED_INVALID: //case __PO_HI_PROTECTED_INVALID:
break; break;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment