summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorStefani Seibold <stefani@seibold.net>2013-02-07 12:32:18 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2013-02-14 15:33:47 +1100
commit034e3b506d07e4d368949c7a7b8cea7bf69b0ea9 (patch)
treeecd437c8b433c38af02cc282aa27e036b484274b /tools/perf
parent301cc990e4a943440126b58ba131867d1aa069df (diff)
kfifo: fix kfifo_alloc() and kfifo_init()
Fix kfifo_alloc() and kfifo_init() to alloc at least the requested number of elements. Since the kfifo operates on power of 2 the request size will be rounded up to the next power of two. Signed-off-by: Stefani Seibold <stefani@seibold.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions