aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/boot/x86_64.S
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-08-27 15:13:20 +0200
committerJan Beulich <jbeulich@suse.com>2013-08-27 15:13:20 +0200
commite15c09f90c6629ef36bf6b4d5534dfc3b0b3de01 (patch)
tree10a17ceed21e73d3e6346d328854ea4c96ae1f54 /xen/arch/x86/boot/x86_64.S
parent258d27a1d9fb33a490bef1381f52d522225c3dca (diff)
downloadxen-e15c09f90c6629ef36bf6b4d5534dfc3b0b3de01.tar.gz
xen-e15c09f90c6629ef36bf6b4d5534dfc3b0b3de01.tar.bz2
xen-e15c09f90c6629ef36bf6b4d5534dfc3b0b3de01.zip
Revert "x86/boot: Explicitly clean pcpu stacks in debug builds"
This reverts commit 8a3c4acc9907cfec9aae9f1bc251fbf50af6828e. It's reportedly broken.
Diffstat (limited to 'xen/arch/x86/boot/x86_64.S')
-rw-r--r--xen/arch/x86/boot/x86_64.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S
index 399541d19a..ed3888d469 100644
--- a/xen/arch/x86/boot/x86_64.S
+++ b/xen/arch/x86/boot/x86_64.S
@@ -13,15 +13,6 @@
mov mmu_cr4_features(%rip),%rcx
mov %rcx,%cr4
-#ifndef NDEBUG
- /* Clean stack. */
- mov stack_start(%rip),%rdi
- mov $(STACK_SIZE / 8),%rcx
- xor %eax,%eax
- rep stosq
-#endif
-
- /* Switch to cpu0_stack. */
mov stack_start(%rip),%rsp
or $(STACK_SIZE-CPUINFO_sizeof),%rsp