aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/lguest/x86/switcher_32.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/lguest/x86/switcher_32.S b/drivers/lguest/x86/switcher_32.S
index e66cec5ac240..1010b90b11fc 100644
--- a/drivers/lguest/x86/switcher_32.S
+++ b/drivers/lguest/x86/switcher_32.S
@@ -133,6 +133,7 @@ ENTRY(switch_to_guest)
133 // The Guest's register page has been mapped 133 // The Guest's register page has been mapped
134 // Writable onto our %esp (stack) -- 134 // Writable onto our %esp (stack) --
135 // We can simply pop off all Guest regs. 135 // We can simply pop off all Guest regs.
136 popl %eax
136 popl %ebx 137 popl %ebx
137 popl %ecx 138 popl %ecx
138 popl %edx 139 popl %edx
@@ -140,7 +141,6 @@ ENTRY(switch_to_guest)
140 popl %edi 141 popl %edi
141 popl %ebp 142 popl %ebp
142 popl %gs 143 popl %gs
143 popl %eax
144 popl %fs 144 popl %fs
145 popl %ds 145 popl %ds
146 popl %es 146 popl %es
@@ -168,7 +168,6 @@ ENTRY(switch_to_guest)
168 pushl %es; \ 168 pushl %es; \
169 pushl %ds; \ 169 pushl %ds; \
170 pushl %fs; \ 170 pushl %fs; \
171 pushl %eax; \
172 pushl %gs; \ 171 pushl %gs; \
173 pushl %ebp; \ 172 pushl %ebp; \
174 pushl %edi; \ 173 pushl %edi; \
@@ -176,6 +175,7 @@ ENTRY(switch_to_guest)
176 pushl %edx; \ 175 pushl %edx; \
177 pushl %ecx; \ 176 pushl %ecx; \
178 pushl %ebx; \ 177 pushl %ebx; \
178 pushl %eax; \
179 /* Our stack and our code are using segments \ 179 /* Our stack and our code are using segments \
180 * Set in the TSS and IDT \ 180 * Set in the TSS and IDT \
181 * Yet if we were to touch data we'd use \ 181 * Yet if we were to touch data we'd use \