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:
Axel Dörfler 2006-05-24 23:30:30 +00:00
parent a7dc54697c
commit 69c86c993d

View File

@ -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;