kernel: mmu: make virtual region bitmap static
The virtual region bitmap bitarray struct is only used within the source file, so it can be declared static. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
5f20e31b5b
commit
fff9180614
1 changed files with 2 additions and 2 deletions
|
@ -181,8 +181,8 @@ void z_page_frames_dump(void)
|
||||||
* Note that bit #0 is the highest address so that allocation is
|
* Note that bit #0 is the highest address so that allocation is
|
||||||
* done in reverse from highest address.
|
* done in reverse from highest address.
|
||||||
*/
|
*/
|
||||||
SYS_BITARRAY_DEFINE(virt_region_bitmap,
|
SYS_BITARRAY_DEFINE_STATIC(virt_region_bitmap,
|
||||||
CONFIG_KERNEL_VM_SIZE / CONFIG_MMU_PAGE_SIZE);
|
CONFIG_KERNEL_VM_SIZE / CONFIG_MMU_PAGE_SIZE);
|
||||||
|
|
||||||
static bool virt_region_inited;
|
static bool virt_region_inited;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue