diff options
author | Damjan Marion <damarion@cisco.com> | 2021-04-19 21:44:21 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2021-04-19 21:45:09 +0200 |
commit | 6db633bde1dc5f89f7c8b434dc95dc225672b277 (patch) | |
tree | 30218015a8d2374bb2d34131756980464c045076 /src/vppinfra/linux/sysfs.h | |
parent | ac6c528fb22d427d7beacd73c247ffd97389dbfe (diff) |
vppinfra: momve clib_sysfs_list_to_bitmap to sysfs.c
Type: refactor
Change-Id: Ia5a7ebd5c8492326f5bf2f1264f1c5ef38ccb4dc
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/linux/sysfs.h')
-rw-r--r-- | src/vppinfra/linux/sysfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/linux/sysfs.h b/src/vppinfra/linux/sysfs.h index 5f5eec2d07a..9cbc34823dd 100644 --- a/src/vppinfra/linux/sysfs.h +++ b/src/vppinfra/linux/sysfs.h @@ -35,6 +35,8 @@ clib_error_t *clib_sysfs_get_surplus_hugepages (int numa_node, clib_error_t *clib_sysfs_prealloc_hugepages (int numa_node, int log2_page_size, int nr); +uword *clib_sysfs_list_to_bitmap (char *filename); + #endif /* included_linux_sysfs_h */ /* |