From f051627fadac5986cb21829c1083a819d4310489 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 18 Dec 2002 11:56:21 +0000 Subject: Update. 2002-12-18 Ulrich Drepper * sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro. Use it instead of directly int $0x80. * sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise. * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise. --- sysdeps/unix/sysv/linux/i386/mmap64.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/i386/mmap64.S') diff --git a/sysdeps/unix/sysv/linux/i386/mmap64.S b/sysdeps/unix/sysv/linux/i386/mmap64.S index df32998134..3a03335814 100644 --- a/sysdeps/unix/sysv/linux/i386/mmap64.S +++ b/sysdeps/unix/sysv/linux/i386/mmap64.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1995,96,97,98,99,2000,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -65,7 +65,7 @@ ENTRY (BP_SYM (__mmap64)) /* Do the system call trap. */ L(do_syscall): - int $0x80 + ENTER_KERNEL /* Restore registers. */ popl %edi @@ -110,7 +110,7 @@ L(einval): lea ADDR-SVRSP(%esp), %ebx /* Address of args is 1st arg. */ /* Do the system call trap. */ - int $0x80 + ENTER_KERNEL /* Restore registers. */ movl %edx, %ebx -- cgit v1.2.1