summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2012-12-13 16:48:46 +0100
committerSimon Horman <horms@verge.net.au>2012-12-14 22:31:03 +0900
commit6b2450ec4d45b32d1c2f6925753a46dbeeeca545 (patch)
treebfebb7ed0d6144ac565c704e76a853178e04ed16 /kexec/kexec.c
parent8908ee4b164abe6f038b74d2067e6271346422ac (diff)
Fix xen_cpuid() inline asm to not clobber stack's red zone
Port xen-unstable changeset 24344:72f4e4cb7440 to kexec-tools: Pushing stuff onto the stack on x86-64 when we do not specify -mno-red-zone is unsafe. Since the complicated asm is due to register pressure on i386, we simply implement an all-new simpler alternative for x86-64. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions