lkml.org 
[lkml]   [2015]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/8] rbtree: Implement generic latch_tree
On Thu, 19 Mar 2015 17:36:36 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> diff --git a/lib/rbtree_latch.c b/lib/rbtree_latch.c
> new file mode 100644
> index 000000000000..13867da4f27f
> --- /dev/null
> +++ b/lib/rbtree_latch.c
> @@ -0,0 +1,5 @@
> +
> +#ifndef CONFIG_RBTREE_LATCH_INLINE
> +#define RBTREE_LATCH_ANNOTATE
> +#include <linux/rbtree_latch_code.h>
> +#endif

As I said, totally untested, so the above still requires at a minimum:


#include <linux/rbtree_latch.h>

at the start.

-- Steve


\
 
 \ /
  Last update: 2015-03-19 23:01    [W:0.084 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site