Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113226
b: refs/heads/master
c: 64f53a0
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 28, 2008
1 parent 3cff87a commit 455c026
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b56afe1d41653fb07ab1b5af5ccc12001c4dd5a0
refs/heads/master: 64f53a0492b4bc11868307990bb8f7c1e0764f89
5 changes: 5 additions & 0 deletions trunk/include/asm-x86/desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ static inline void fill_ldt(struct desc_struct *desc,
desc->d = info->seg_32bit;
desc->g = info->limit_in_pages;
desc->base2 = (info->base_addr & 0xff000000) >> 24;
/*
* Don't allow setting of the lm bit. It is useless anyway
* because 64bit system calls require __USER_CS:
*/
desc->l = 0;
}

extern struct desc_ptr idt_descr;
Expand Down

0 comments on commit 455c026

Please sign in to comment.