diff options
Diffstat (limited to 'usr/src/lib/libc/sparc/sys/syscall.s')
| -rw-r--r-- | usr/src/lib/libc/sparc/sys/syscall.s | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/usr/src/lib/libc/sparc/sys/syscall.s b/usr/src/lib/libc/sparc/sys/syscall.s index ab4fa8020f..f90ee2c92e 100644 --- a/usr/src/lib/libc/sparc/sys/syscall.s +++ b/usr/src/lib/libc/sparc/sys/syscall.s @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,15 +18,15 @@ * * CDDL HEADER END */ -/* Copyright (c) 1988 AT&T */ -/* All Rights Reserved */ - /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* Copyright (c) 1988 AT&T */ +/* All Rights Reserved */ + #pragma ident "%Z%%M% %I% %E% SMI" /* @@ -48,16 +47,11 @@ .file "%M%" -#include <sys/asm_linkage.h> - - ANSI_PRAGMA_WEAK(syscall,function) - #include "SYS.h" -#undef _syscall /* override "synonyms.h" */ -#undef __systemcall + ANSI_PRAGMA_WEAK(syscall,function) - ENTRY(_syscall) + ENTRY(syscall) save %sp, -SA(MINFRAME + 2*CLONGSIZE), %sp ldn [%fp + STACK_BIAS + MINFRAME], %o5 ! arg 5 mov %i3, %o2 ! arg 2 @@ -79,7 +73,7 @@ 1: ret restore - SET_SIZE(_syscall) + SET_SIZE(syscall) /* * Same as _syscall(), but restricted to 6 syscall arguments |
