mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
remove in the boot processor check
- if the boot processor goes down, we dump the status as kernel message
This commit is contained in:
parent
10606d5a42
commit
5200f73d92
2 changed files with 2 additions and 2 deletions
|
@ -789,7 +789,7 @@ static void apic_err_handler(struct state *s)
|
|||
|
||||
void shutdown_system(void)
|
||||
{
|
||||
int if_bootprocessor = (apic_processors[boot_processor]->id == apic_cpu_id());
|
||||
int if_bootprocessor = (boot_processor == apic_cpu_id());
|
||||
|
||||
irq_disable();
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@ int network_shutdown(void);
|
|||
void check_ticks(void);
|
||||
#endif
|
||||
|
||||
volatile extern uint32_t go_down;
|
||||
extern volatile uint32_t go_down;
|
||||
|
||||
/** @brief shutdown the hole system
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue