aboutsummaryrefslogtreecommitdiffstats
path: root/man2/alloc_hugepages.2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-04-04 13:58:20 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-04-05 13:23:06 +0200
commit58d15b72dae9efcfb4788157e433b4c9b070755b (patch)
tree1d12a4393c1e9df450b19b27d0ae2a704f832415 /man2/alloc_hugepages.2
parent4175b08beb8a0a4b4253d04e445cab94120e78b2 (diff)
downloadman-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.27
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