[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1326878928.7482.2.camel@marge.simson.net>
Date: Wed, 18 Jan 2012 10:28:48 +0100
From: Mike Galbraith <efault@....de>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org,
linux-rt-users <linux-rt-users@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Carsten Emde <C.Emde@...dl.org>, John Kacur <jkacur@...hat.com>
Subject: Re: [PATCH RT 2/4] wait-simple: Simple waitqueue implementation
Greetings,
On Tue, 2012-01-17 at 22:45 -0500, Steven Rostedt wrote:
> diff --git a/kernel/wait-simple.c b/kernel/wait-simple.c
> new file mode 100644
> index 0000000..7f1cb72
> --- /dev/null
> +++ b/kernel/wait-simple.c
> @@ -0,0 +1,62 @@
> +/*
> + * Simple waitqueues without fancy flags and callbacks
> + *
> + * (C) 2011 Thomas Gleixner <tglx@...utronix.de>
> + *
> + * Based on kernel/wait.c
> + *
> + * For licencing details see kernel-base/COPYING
> + */
> +#include <linux/init.h>
> +#include <linux/sched.h>
> +#include <linux/wait-simple.h>
> +
> +void __init_swait_head(struct swait_head *head, struct lock_class_key *key)
> +{
> + raw_spin_lock_init(&head->lock);
> + lockdep_set_class(&head->lock, key);
> + INIT_LIST_HEAD(&head->list);
> +}
> +EXPORT_SYMBOL_GPL(__init_swait_head);
#include <linux/module.h> ?
-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists