diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-25 22:50:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-25 22:50:48 (GMT) |
commit | eadd4f5ea1507403655e9f5aeb0ea944eaa9d5de (patch) | |
tree | b2f4e0c39239ad24524139e8cf008fef24fa306f /arch | |
parent | 06dbbfef8296d6dc23e5d8030a0e8e7b20df3b7c (diff) | |
parent | d58aa8c7b1cc0add7b03e26bdb8988d98d2f4cd1 (diff) | |
download | linux-fsl-qoriq-eadd4f5ea1507403655e9f5aeb0ea944eaa9d5de.tar.xz |
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')
-rw-r--r-- | arch/sparc64/kernel/sys_sparc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/sys_sparc.c b/arch/sparc64/kernel/sys_sparc.c index 560cb1e..c56573a 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; |