diff options
Diffstat (limited to 'arch/sparc/kernel/sys_sparc_64.c')
-rw-r--r-- | arch/sparc/kernel/sys_sparc_64.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index 8f9cd58497de..cfa0e19abe3b 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c | |||
@@ -403,18 +403,6 @@ void arch_pick_mmap_layout(struct mm_struct *mm) | |||
403 | } | 403 | } |
404 | } | 404 | } |
405 | 405 | ||
406 | SYSCALL_DEFINE1(sparc_brk, unsigned long, brk) | ||
407 | { | ||
408 | /* People could try to be nasty and use ta 0x6d in 32bit programs */ | ||
409 | if (test_thread_flag(TIF_32BIT) && brk >= STACK_TOP32) | ||
410 | return current->mm->brk; | ||
411 | |||
412 | if (unlikely(straddles_64bit_va_hole(current->mm->brk, brk))) | ||
413 | return current->mm->brk; | ||
414 | |||
415 | return sys_brk(brk); | ||
416 | } | ||
417 | |||
418 | /* | 406 | /* |
419 | * sys_pipe() is the normal C calling standard for creating | 407 | * sys_pipe() is the normal C calling standard for creating |
420 | * a pipe. It's not the way unix traditionally does this, though. | 408 | * a pipe. It's not the way unix traditionally does this, though. |