diff mbox

[API-NEXT,PATCHv3,4/6] linux-generic: pool: implement odp_pool_param_init

Message ID 1436051526-15926-4-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit 839354652a8497cec2b87b6ca74bac9b3e251ec7
Headers show

Commit Message

Bill Fischofer July 4, 2015, 11:12 p.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 dcbdf07..8571cdb 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -658,3 +658,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(params, 0, sizeof(odp_pool_param_t));
+}