diff options
Diffstat (limited to 'arch/x86/kernel/relocate_kernel_64.S')
-rw-r--r-- | arch/x86/kernel/relocate_kernel_64.S | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/arch/x86/kernel/relocate_kernel_64.S b/arch/x86/kernel/relocate_kernel_64.S index f2bb9c96720a..3fd2c693e475 100644 --- a/arch/x86/kernel/relocate_kernel_64.S +++ b/arch/x86/kernel/relocate_kernel_64.S | |||
@@ -151,21 +151,21 @@ identity_mapped: | |||
151 | 151 | ||
152 | testq %r11, %r11 | 152 | testq %r11, %r11 |
153 | jnz 1f | 153 | jnz 1f |
154 | xorq %rax, %rax | 154 | xorl %eax, %eax |
155 | xorq %rbx, %rbx | 155 | xorl %ebx, %ebx |
156 | xorq %rcx, %rcx | 156 | xorl %ecx, %ecx |
157 | xorq %rdx, %rdx | 157 | xorl %edx, %edx |
158 | xorq %rsi, %rsi | 158 | xorl %esi, %esi |
159 | xorq %rdi, %rdi | 159 | xorl %edi, %edi |
160 | xorq %rbp, %rbp | 160 | xorl %ebp, %ebp |
161 | xorq %r8, %r8 | 161 | xorl %r8d, %r8d |
162 | xorq %r9, %r9 | 162 | xorl %r9d, %r9d |
163 | xorq %r10, %r10 | 163 | xorl %r10d, %r10d |
164 | xorq %r11, %r11 | 164 | xorl %r11d, %r11d |
165 | xorq %r12, %r12 | 165 | xorl %r12d, %r12d |
166 | xorq %r13, %r13 | 166 | xorl %r13d, %r13d |
167 | xorq %r14, %r14 | 167 | xorl %r14d, %r14d |
168 | xorq %r15, %r15 | 168 | xorl %r15d, %r15d |
169 | 169 | ||
170 | ret | 170 | ret |
171 | 171 | ||
@@ -212,8 +212,8 @@ virtual_mapped: | |||
212 | /* Do the copies */ | 212 | /* Do the copies */ |
213 | swap_pages: | 213 | swap_pages: |
214 | movq %rdi, %rcx /* Put the page_list in %rcx */ | 214 | movq %rdi, %rcx /* Put the page_list in %rcx */ |
215 | xorq %rdi, %rdi | 215 | xorl %edi, %edi |
216 | xorq %rsi, %rsi | 216 | xorl %esi, %esi |
217 | jmp 1f | 217 | jmp 1f |
218 | 218 | ||
219 | 0: /* top, read another word for the indirection page */ | 219 | 0: /* top, read another word for the indirection page */ |