diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-04 22:10:44 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-04 22:10:44 +0200 |
| commit | ccd0a1ca865d3b640f902945df84bb2be388a755 (patch) | |
| tree | 11d54050ca403b50cc3e122428b8e8ce42a060b6 /kernel/kapi/interrupts.cpp | |
| parent | c6d5c461ff8ec1d8361c477a4318491755a24235 (diff) | |
| download | kernel-ccd0a1ca865d3b640f902945df84bb2be388a755.tar.xz kernel-ccd0a1ca865d3b640f902945df84bb2be388a755.zip | |
x86_64/cpu: fix asm input constraint
The "X" constraint tells GCC that any operand whatsoever is valid to be
placed in the assembler template. This makes no sense in this case,
since that would allow for the exact expression to be inserted. If that
happens, which it does when `-Og` is active, GCC is unable to assemble
that template.
The correct constraint is forcing the value into a register.
Diffstat (limited to 'kernel/kapi/interrupts.cpp')
0 files changed, 0 insertions, 0 deletions
