Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62378
b: refs/heads/master
c: 2f30c00
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Jul 22, 2007
1 parent 5cf2157 commit 500d956
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cdc1793ef7f5ccc47696e3d00b827e832e4c5bdb
refs/heads/master: 2f30c00702aca3229e1157718675f0ee56d2a931
4 changes: 3 additions & 1 deletion trunk/arch/i386/kernel/sysenter.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ struct vm_area_struct *get_gate_vma(struct task_struct *tsk)

int in_gate_area(struct task_struct *task, unsigned long addr)
{
return 0;
const struct vm_area_struct *vma = get_gate_vma(task);

return vma && addr >= vma->vm_start && addr < vma->vm_end;
}

int in_gate_area_no_task(unsigned long addr)
Expand Down

0 comments on commit 500d956

Please sign in to comment.