Skip to content

Commit

Permalink
ioapic: move init_ioapic() to .text.init section
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Oct 26, 2020
1 parent 56a87eb commit 5eebe60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/ioapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ irq_override_t *get_system_pci_bus_irq(uint8_t irq_type, uint32_t irq_src) {
return __get_irq_override(bus, irq_type, irq_src);
}

void init_ioapic(void) {
void __text_init init_ioapic(void) {
printk("Initializing IOAPICs\n");

for (unsigned i = 0; i < nr_ioapics; i++) {
Expand Down

0 comments on commit 5eebe60

Please sign in to comment.