summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorLinus Torvalds2007-10-26 00:50:48 +0200
committerLinus Torvalds2007-10-26 00:50:48 +0200
commiteadd4f5ea1507403655e9f5aeb0ea944eaa9d5de (patch)
treeb2f4e0c39239ad24524139e8cf008fef24fa306f /arch/sparc64/kernel
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/... (diff)
parent[SPARC64]: pass correct addr in get_fb_unmapped_area(MAP_FIXED) (diff)
downloadkernel-qcow2-linux-eadd4f5ea1507403655e9f5aeb0ea944eaa9d5de.tar.gz
kernel-qcow2-linux-eadd4f5ea1507403655e9f5aeb0ea944eaa9d5de.tar.xz
kernel-qcow2-linux-eadd4f5ea1507403655e9f5aeb0ea944eaa9d5de.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: pass correct addr in get_fb_unmapped_area(MAP_FIXED)
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/sys_sparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/sys_sparc.c b/arch/sparc64/kernel/sys_sparc.c
index 560cb1edb1d0..c56573a10eee 100644
--- a/arch/sparc64/kernel/sys_sparc.c
+++ b/arch/sparc64/kernel/sys_sparc.c
@@ -318,7 +318,7 @@ unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, u
if (flags & MAP_FIXED) {
/* Ok, don't mess with it. */
- return get_unmapped_area(NULL, addr, len, pgoff, flags);
+ return get_unmapped_area(NULL, orig_addr, len, pgoff, flags);
}
flags &= ~MAP_SHARED;