Daniel Verkamp 6854710d6d likely.h: fix spdk_likely condition
The __builtin_expect(), as written before, would have generated the
right branch taken/not taken condition, but the return value was the
opposite of the cond value.

We need to double-not the value to convert it to a 0/1 value while
preserving its original 0/non-zero sense.

Change-Id: I38101ff3ed8e89fc6516cfcdf7d642651545e4ff
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-12-15 13:01:08 -07:00
..
2016-09-15 15:47:56 -07:00
2016-11-16 10:30:04 -07:00
2016-12-12 10:13:16 -07:00
2016-11-07 09:59:59 -07:00
2016-10-05 11:53:24 -07:00
2016-12-15 13:01:08 -07:00
2016-10-03 08:41:37 -07:00
2016-06-22 15:45:50 -07:00