diff options
author | Stefani Seibold <stefani@seibold.net> | 2010-08-10 21:03:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:23 -0400 |
commit | 5bf2b19320ec31d094d7370fdf536f7fd91fd799 (patch) | |
tree | 47052fd9bdb0969d4a4a7d430695388094409964 /samples/Kconfig | |
parent | 2e956fb320568cc70861761483e2f0e2db75fd66 (diff) |
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: Stefani Seibold <stefani@seibold.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r-- | samples/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index 8924f72f0629..954a1d550c5f 100644 --- a/samples/Kconfig +++ b/samples/Kconfig | |||
@@ -44,4 +44,14 @@ config SAMPLE_HW_BREAKPOINT | |||
44 | help | 44 | help |
45 | This builds kernel hardware breakpoint example modules. | 45 | This builds kernel hardware breakpoint example modules. |
46 | 46 | ||
47 | config SAMPLE_KFIFO | ||
48 | tristate "Build kfifo examples -- loadable modules only" | ||
49 | depends on m | ||
50 | help | ||
51 | This config option will allow you to build a number of | ||
52 | different kfifo sample modules showing how to use the | ||
53 | generic kfifo API. | ||
54 | |||
55 | If in doubt, say "N" here. | ||
56 | |||
47 | endif # SAMPLES | 57 | endif # SAMPLES |