The only caller is now in the 0xf0000 segment - so no need for it.
.code16gcc
-// Shutdown a CPU. We want this in the 0xf000 section to ensure that
-// the code wont be overwritten with something else. (Should
-// something spurious wake up the CPU, we want to be sure that the hlt
-// insn will still be present and will shutdown the CPU.)
- DECLFUNC permanent_halt
-permanent_halt:
- cli
-1: hlt
- jmp 1b
-
// IRQ trampolines
.macro IRQ_TRAMPOLINE num
DECLFUNC irq_trampoline_0x\num
" movw %ax, %ds\n"
" lock incl smp_cpus\n"
// Halt the processor.
- " jmp permanent_halt\n"
+ "1:hlt\n"
+ " jmp 1b\n"
);
/* find the number of CPUs by launching a SIPI to them */