Skip to content
Commit 4108903c authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

x86: fix stack pointer after call



Since setup_multiboot has a C calling convention, the stack pointer must
be adjusted after the call.  Without this change, the bottom of the
percpu area would be 4 bytes below the bottom of the stack and overlap
the top 4 bytes of CPU 1's stack.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f8203b59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment