mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
Interrupts: Make the MultiProcessorParser functional again
This commit is contained in:
parent
a7c5a1fe69
commit
fec8763c21
2 changed files with 4 additions and 5 deletions
|
@ -40,8 +40,8 @@ bool MultiProcessorParser::is_initialized()
|
|||
|
||||
void MultiProcessorParser::initialize()
|
||||
{
|
||||
if (!MultiProcessorParser::is_initialized())
|
||||
s_parser = new MultiProcessorParser;
|
||||
ASSERT(!is_initialized());
|
||||
s_parser = new MultiProcessorParser;
|
||||
}
|
||||
|
||||
MultiProcessorParser::MultiProcessorParser()
|
||||
|
@ -181,7 +181,7 @@ Vector<unsigned> MultiProcessorParser::get_pci_bus_ids()
|
|||
|
||||
MultiProcessorParser& MultiProcessorParser::the()
|
||||
{
|
||||
ASSERT(!MultiProcessorParser::is_initialized());
|
||||
ASSERT(is_initialized());
|
||||
return *s_parser;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue