commit | ca1921aaa37dfeefa9b6ea6922c7367080c64b97 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed Aug 19 12:18:16 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Aug 20 13:58:54 2020 -0400 |
tree | 15f596b9cf62789c5a50a2dfaa78458656a8fd2c | |
parent | 75d5c0bc4b692ade7ef8e94c07eb2fe362b91f27 [diff] |
userspace: fix ifdef for k_mem_domain ifdef the entire struct k_mem_domain around CONFIG_USERSPACE, this is specifically and only a userspace feature. Add an incomplete definition for purposes of allowing the APIs to be used with IS_ENABLED(). Prevents accidental useless instatiation of k_mem_domain structs. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>