Skip to content
Commit a6d42751 authored by Johan Hedberg's avatar Johan Hedberg Committed by Andrew Boie
Browse files

atomic: Add helper to declare atomic_t arrays for bit fields



The atomic_t API supports arbitrary sized bit fields which are not
limited to a single atomic_t variable. This patch introduces a macro
to help declare right-sized atomic_t arrays given the number of bits
needed.

Change-Id: I226f6312b642551fc492df29d24764222f45ac83
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 96cadd1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment