aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/system.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-09-04 22:10:44 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-09-04 22:10:44 +0200
commitccd0a1ca865d3b640f902945df84bb2be388a755 (patch)
tree11d54050ca403b50cc3e122428b8e8ce42a060b6 /kernel/kapi/system.cpp
parentc6d5c461ff8ec1d8361c477a4318491755a24235 (diff)
downloadkernel-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/system.cpp')
0 files changed, 0 insertions, 0 deletions