kfifo: add example files to the kernel sample directory
Add four examples to the kernel sample directory. It shows how to handle: - a byte stream fifo - a integer type fifo - a dynamic record sized fifo - the fifo DMA functions [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: NStefani Seibold <stefani@seibold.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
samples/kfifo/Makefile
0 → 100644
samples/kfifo/dma-example.c
0 → 100644
samples/kfifo/inttype-example.c
0 → 100644
samples/kfifo/record-example.c
0 → 100644
想要评论请 注册 或 登录