A stupid typo that caused Haiku to crash when there was no CPU module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17581 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a7dc54697c
commit
69c86c993d
@ -359,7 +359,7 @@ arch_cpu_init_post_modules(kernel_args *args)
|
||||
close_module_list(cookie);
|
||||
|
||||
// initialize MTRRs if available
|
||||
if (x86_count_mtrrs > 0)
|
||||
if (x86_count_mtrrs() > 0)
|
||||
call_all_cpus(&init_mtrrs, NULL);
|
||||
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user