diff mbox

[API-NEXT,PATCHv2,08/10] linux-generic: pool: implement odp_pool_param_init

Message ID 1435714761-23951-8-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

Bill Fischofer July 1, 2015, 1:39 a.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 platform/linux-generic/odp_pool.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
index 26ee06f..6fce612 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -628,3 +628,8 @@  odp_pool_t odp_buffer_pool(odp_buffer_t buf)
 {
 	return odp_buf_to_hdr(buf)->pool_hdl;
 }
+
+void odp_pool_param_init(odp_pool_param_t *params)
+{
+	memset((void *)params, 0, sizeof(odp_pool_param_t));
+}