diff options
author | Christoph Jaeger <email@christophjaeger.info> | 2014-08-08 08:00:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:12 -0700 |
commit | 2b8b61aaef59751fe85c1b2df51a848a6c50d202 (patch) | |
tree | f11d28d16adc61f7d9dd245d6c778fdd4e7af224 /drivers/staging/ozwpan/ozproto.h | |
parent | 9e6fbdde1219bdd3875e72c6278beebf241bd416 (diff) | |
download | op-kernel-dev-2b8b61aaef59751fe85c1b2df51a848a6c50d202.zip op-kernel-dev-2b8b61aaef59751fe85c1b2df51a848a6c50d202.tar.gz |
staging: ozwpan: Use slab cache for oz_elt_info 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h index f1d30c4..b0f7459 100644 --- a/drivers/staging/ozwpan/ozproto.h +++ b/drivers/staging/ozwpan/ozproto.h @@ -65,4 +65,6 @@ enum hrtimer_restart oz_pd_timeout_event(struct hrtimer *timer); 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; + #endif /* _OZPROTO_H */ |