Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2000-03-16  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.

	* sysdeps/unix/sysv/linux/madvise.c: Remove.

	* sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
	from latest Linux kernel.
	* sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
  • Loading branch information
Ulrich Drepper committed Mar 17, 2000
1 parent b9b178a commit f5ef755
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2000-03-16 Andreas Jaeger <aj@suse.de>

* sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.

* sysdeps/unix/sysv/linux/madvise.c: Remove.

* sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
from latest Linux kernel.
* sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.

2000-03-17 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
Expand Down
9 changes: 9 additions & 0 deletions sysdeps/unix/sysv/linux/i386/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@
#ifdef __USE_GNU
# define MREMAP_MAYMOVE 1
#endif

/* Advice to `madvise'. */
#ifdef __USE_BSD
# define MADV_NORMAL 0 /* No further special treatment. */
# define MADV_RANDOM 1 /* Expect random page references. */
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
# define MADV_WILLNEED 3 /* Will need these pages. */
# define MADV_DONTNEED 4 /* Don't need these pages. */
#endif
1 change: 0 additions & 1 deletion sysdeps/unix/sysv/linux/madvise.c

This file was deleted.

9 changes: 9 additions & 0 deletions sysdeps/unix/sysv/linux/sparc/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,12 @@
#ifdef __USE_GNU
# define MREMAP_MAYMOVE 1
#endif

/* Advice to `madvise'. */
#ifdef __USE_BSD
# define MADV_NORMAL 0 /* No further special treatment. */
# define MADV_RANDOM 1 /* Expect random page references. */
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
# define MADV_WILLNEED 3 /* Will need these pages. */
# define MADV_DONTNEED 4 /* Don't need these pages. */
#endif
2 changes: 2 additions & 0 deletions sysdeps/unix/sysv/linux/syscalls.list
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ ioperm - ioperm 3 ioperm
iopl - iopl 1 iopl
klogctl EXTRA syslog 3 klogctl
lchown - lchown 3 __lchown lchown
madvise - madvise 3 madvise
mincore - mincore 3 mincore
mlock EXTRA mlock 2 __mlock mlock
mlockall EXTRA mlockall 1 __mlockall mlockall
mmap - mmap 6 __mmap mmap
Expand Down

0 comments on commit f5ef755

Please sign in to comment.