summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/linux/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/linux/sysfs.h')
-rw-r--r--src/vppinfra/linux/sysfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vppinfra/linux/sysfs.h b/src/vppinfra/linux/sysfs.h
index 6c80cf95dbb..5f5eec2d07a 100644
--- a/src/vppinfra/linux/sysfs.h
+++ b/src/vppinfra/linux/sysfs.h
@@ -25,15 +25,15 @@ clib_error_t *clib_sysfs_read (char *file_name, char *fmt, ...);
u8 *clib_sysfs_link_to_name (char *link);
clib_error_t *clib_sysfs_set_nr_hugepages (int numa_node,
- int page_size, int nr);
+ int log2_page_size, int nr);
clib_error_t *clib_sysfs_get_nr_hugepages (int numa_node,
- int page_size, int *v);
+ int log2_page_size, int *v);
clib_error_t *clib_sysfs_get_free_hugepages (int numa_node,
- int page_size, int *v);
+ int log2_page_size, int *v);
clib_error_t *clib_sysfs_get_surplus_hugepages (int numa_node,
- int page_size, int *v);
+ int log2_page_size, int *v);
clib_error_t *clib_sysfs_prealloc_hugepages (int numa_node,
- int page_size, int nr);
+ int log2_page_size, int nr);
#endif /* included_linux_sysfs_h */