[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>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-10-04 18:55:16 +01:00
1 parent 6623d7edad
commit 52432dc102
1 file changed
-1
@@ -350,7 +350,6 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr)
struct user_desc ud = {
.base_addr = addr,
.limit = 0xfffff,
.contents = (3 << 3), /* user */
.seg_32bit = 1,
.limit_in_pages = 1,
.useable = 1,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.