diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-04-04 13:58:20 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-04-05 13:23:06 +0200 |
| commit | 58d15b72dae9efcfb4788157e433b4c9b070755b (patch) | |
| tree | 1d12a4393c1e9df450b19b27d0ae2a704f832415 /man2/alloc_hugepages.2 | |
| parent | 4175b08beb8a0a4b4253d04e445cab94120e78b2 (diff) | |
| download | man-pages-58d15b72dae9efcfb4788157e433b4c9b070755b.tar.gz | |
alloc_hugepages.2: Use syscall(SYS_...); for system calls without a wrapper
The page didn't specify includes, and the syscalls are extinct, so
instead of adding incomplete information about includes, just
leave it without any includes.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/alloc_hugepages.2')
| -rw-r--r-- | man2/alloc_hugepages.2 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man2/alloc_hugepages.2 b/man2/alloc_hugepages.2 index 07193c542a..cc76fc4954 100644 --- a/man2/alloc_hugepages.2 +++ b/man2/alloc_hugepages.2 @@ -27,11 +27,12 @@ alloc_hugepages, free_hugepages \- allocate or free huge pages .SH SYNOPSIS .nf -.BI "void *alloc_hugepages(int " key ", void *" addr ", size_t " len , -.BI " int " prot ", int " flag ); +.BI "void *syscall(SYS_alloc_hugepages, int " key ", void *" addr \ +", size_t " len , +.BI " int " prot ", int " flag ); .\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, .\" unsigned long len, int prot, int flag); -.BI "int free_hugepages(void *" addr ); +.BI "int syscall(SYS_free_hugepages, void *" addr ); .\" asmlinkage int sys_free_hugepages(unsigned long addr); .fi .SH DESCRIPTION |
