1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-05 18:05:16 +00:00

Need to call init_mem() to really initialize the MMIO range lookups.

This was working by accident because:
- the RB_HEADs were being initialized to zero as part of BSS
- the pthread_rwlock functions were implicitly initializing the lock object

Obtained from:	NetApp
This commit is contained in:
Neel Natu 2013-04-10 18:59:20 +00:00
parent f1280b3805
commit 0e2ca4e625
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249343

View File

@ -728,6 +728,7 @@ main(int argc, char *argv[])
exit(1);
}
init_mem();
init_inout();
init_pci(ctx);
if (ioapic)