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
[PATCH] powerpc: Fix mmap returning 64 bit addresses
[pandora-kernel.git]
/
arch
/
powerpc
/
kernel
/
syscalls.c
diff --git
a/arch/powerpc/kernel/syscalls.c
b/arch/powerpc/kernel/syscalls.c
index
7a23721
..
f72ced1
100644
(file)
--- a/
arch/powerpc/kernel/syscalls.c
+++ b/
arch/powerpc/kernel/syscalls.c
@@
-162,7
+162,7
@@
static inline unsigned long do_mmap2(unsigned long addr, size_t len,
unsigned long fd, unsigned long off, int shift)
{
struct file * file = NULL;
-
int
ret = -EINVAL;
+
unsigned long
ret = -EINVAL;
if (shift) {
if (off & ((1 << shift) - 1))