diff options
Diffstat (limited to 'usr/src/lib/libc/amd64/sys/syscall.s')
| -rw-r--r-- | usr/src/lib/libc/amd64/sys/syscall.s | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/usr/src/lib/libc/amd64/sys/syscall.s b/usr/src/lib/libc/amd64/sys/syscall.s index 1eb1627751..d93ca204b6 100644 --- a/usr/src/lib/libc/amd64/sys/syscall.s +++ b/usr/src/lib/libc/amd64/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,8 +18,9 @@ * * CDDL HEADER END */ + /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -28,16 +28,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) pushq %rbp movq %rsp, %rbp /* construct a new call stack frame */ @@ -61,7 +56,7 @@ leave SYSCERROR ret - SET_SIZE(_syscall) + SET_SIZE(syscall) /* * Same as _syscall(), but restricted to 6 syscall arguments |
