git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull asus into release branch
[pandora-kernel.git]
/
drivers
/
char
/
mem.c
diff --git
a/drivers/char/mem.c
b/drivers/char/mem.c
index
f5c160c
..
5f06696
100644
(file)
--- a/
drivers/char/mem.c
+++ b/
drivers/char/mem.c
@@
-248,7
+248,7
@@
static unsigned long get_unmapped_area_mem(struct file *file,
{
if (!valid_mmap_phys_addr_range(pgoff, len))
return (unsigned long) -EINVAL;
- return pgoff;
+ return pgoff
<< PAGE_SHIFT
;
}
/* can't do an in-place private mapping if there's no MMU */