ia64/xen-unstable
changeset 3058:a51f762f794a
bitkeeper revision 1.1159.179.8 (419ddf289BKUO9NgFKnaFHjgBD0wyQ)
Use USER_DS for %ds/%es when in kernel -- like plain i386.
Use USER_DS for %ds/%es when in kernel -- like plain i386.
author | cl349@arcadians.cl.cam.ac.uk |
---|---|
date | Fri Nov 19 11:55:20 2004 +0000 (2004-11-19) |
parents | 35a34a843c72 |
children | e907065a5bc7 |
files | linux-2.6.10-rc2-xen-sparse/arch/xen/i386/kernel/entry.S |
line diff
1.1 --- a/linux-2.6.10-rc2-xen-sparse/arch/xen/i386/kernel/entry.S Fri Nov 19 11:50:59 2004 +0000 1.2 +++ b/linux-2.6.10-rc2-xen-sparse/arch/xen/i386/kernel/entry.S Fri Nov 19 11:55:20 2004 +0000 1.3 @@ -102,10 +102,9 @@ VM_MASK = 0x00020000 1.4 pushl %edx; \ 1.5 pushl %ecx; \ 1.6 pushl %ebx; \ 1.7 - movl $(__KERNEL_DS), %edx; \ 1.8 + movl $(__USER_DS), %edx; \ 1.9 movl %edx, %ds; \ 1.10 movl %edx, %es; 1.11 - # XXXcl USER? 1.12 1.13 #define RESTORE_INT_REGS \ 1.14 popl %ebx; \