aboutsummaryrefslogtreecommitdiff
path: root/lib/kfifo.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-27kfifo: fix kfifo_alloc() and kfifo_init()Stefani Seibold1-4/+2
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2013-02-27kfifo: move kfifo.c from kernel/ to lib/Stefani Seibold1-0/+609
Move kfifo.c from kernel/ to lib/ Signed-off-by: Stefani Seibold <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>