1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

Kernel: Fix building the kernel with LTO

Fixes #8383.
This commit is contained in:
Gunnar Beutner 2021-07-02 15:48:22 +02:00 committed by Andreas Kling
parent 311b2c0720
commit 5666809889
2 changed files with 62 additions and 62 deletions

View file

@ -34,7 +34,7 @@ struct TrapFrame {
static_assert(TRAP_FRAME_SIZE == sizeof(TrapFrame));
extern "C" void enter_trap_no_irq(TrapFrame* trap);
extern "C" void enter_trap_no_irq(TrapFrame* trap) __attribute__((used));
extern "C" void enter_trap(TrapFrame*) __attribute__((used));
extern "C" void exit_trap(TrapFrame*) __attribute__((used));