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:
@@ -359,7 +359,7 @@ arch_cpu_init_post_modules(kernel_args *args)
|
|||||||
close_module_list(cookie);
|
close_module_list(cookie);
|
||||||
|
|
||||||
// initialize MTRRs if available
|
// initialize MTRRs if available
|
||||||
if (x86_count_mtrrs > 0)
|
if (x86_count_mtrrs() > 0)
|
||||||
call_all_cpus(&init_mtrrs, NULL);
|
call_all_cpus(&init_mtrrs, NULL);
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user