ia64/xen-unstable

changeset 11736:2dd375ce153d

[LINUX] Don't bother to write a 5-bit value to a 2-bit field.
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Oct 04 18:55:16 2006 +0100 (2006-10-04)
parents 224b80785d02
children a5a3f48e92c9
files linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c	Wed Oct 04 16:12:35 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c	Wed Oct 04 18:55:16 2006 +0100
     1.3 @@ -350,7 +350,6 @@ static inline void set_32bit_tls(struct 
     1.4  	struct user_desc ud = { 
     1.5  		.base_addr = addr,
     1.6  		.limit = 0xfffff,
     1.7 -		.contents = (3 << 3), /* user */
     1.8  		.seg_32bit = 1,
     1.9  		.limit_in_pages = 1,
    1.10  		.useable = 1,