diff options
author | Christoph Jaeger <email@christophjaeger.info> | 2014-08-08 08:01:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:12 -0700 |
commit | 50222db4b03ac8f3259c6d39bbd585ed3358f70f (patch) | |
tree | 65e60815c6b1fb86a29ce36cbe908c2588df1507 /drivers/staging/ozwpan/ozproto.h | |
parent | 2b8b61aaef59751fe85c1b2df51a848a6c50d202 (diff) | |
download | op-kernel-dev-50222db4b03ac8f3259c6d39bbd585ed3358f70f.zip op-kernel-dev-50222db4b03ac8f3259c6d39bbd585ed3358f70f.tar.gz |
staging: ozwpan: Use slab cache for oz_tx_frame allocation
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger <email@christophjaeger.info>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozproto.h')
-rw-r--r-- | drivers/staging/ozwpan/ozproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h index b0f7459..73cc69b 100644 --- a/drivers/staging/ozwpan/ozproto.h +++ b/drivers/staging/ozwpan/ozproto.h @@ -66,5 +66,6 @@ int oz_get_pd_status_list(char *pd_list, int max_count); int oz_get_binding_list(char *buf, int max_if); extern struct kmem_cache *oz_elt_info_cache; +extern struct kmem_cache *oz_tx_frame_cache; #endif /* _OZPROTO_H */ |