commit | f8d743a1cb80ca97b6d1df0191b79fbdb4deb31d | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed Aug 19 12:22:50 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Aug 20 13:58:54 2020 -0400 |
tree | 9f3a827d3fcbce2426a5eb2a8e9bc70aa18d6482 | |
parent | ca1921aaa37dfeefa9b6ea6922c7367080c64b97 [diff] |
userspace: fix ifdef for k_mem_partition Wrap the entire definition around CONFIG_MEMORY_PROTECTION. Add incomplete declaration for IS_ENABLED() purposes. Some arch code uses struct k_mem_partition internally for MPU management, even if userspace isn't enabled. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>