From 1d31ae31aabae692484dc8c2e78f84dfa06aee99 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 10 Sep 2015 13:40:18 +1000 Subject: Remove FIXME for using atomics for opal_pending_events The locking code is obviously correct and it's never shown up in a profile - so it's likely fine for a while yet. Signed-off-by: Stewart Smith --- core/opal.c | 1 - 1 file changed, 1 deletion(-) (limited to 'core/opal.c') diff --git a/core/opal.c b/core/opal.c index 4350ae7..c2c4d8d 100644 --- a/core/opal.c +++ b/core/opal.c @@ -168,7 +168,6 @@ void opal_update_pending_evt(uint64_t evt_mask, uint64_t evt_values) { uint64_t new_evts; - /* XXX FIXME: Use atomics instead ??? Or caller locks (con_lock ?) */ lock(&evt_lock); new_evts = (opal_pending_events & ~evt_mask) | evt_values; if (opal_pending_events != new_evts) { -- cgit v1.1