1
0
Fork 0
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:
Stefan Lankes 2016-02-18 18:13:11 +01:00
parent 10606d5a42
commit 5200f73d92
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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
*/