Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54236
b: refs/heads/master
c: 11300a6
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed May 7, 2007
1 parent 3d2d61e commit e633a8c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ac35ee484df361e1aed89873a458900693effdbe
refs/heads/master: 11300a64d08ebce03e30cac8eb58e8ce008e4bb7
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/kernel/sys_x86_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
unsigned long start_addr;
unsigned long begin, end;

if (flags & MAP_FIXED)
return addr;

find_start_end(flags, &begin, &end);

if (len > end)
Expand Down

0 comments on commit e633a8c

Please sign in to comment.