mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
Interrupts: Make the MultiProcessorParser functional again
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user