[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080419132504.GB19416@Krystal>
Date: Sat, 19 Apr 2008 09:25:04 -0400
From: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc: Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org
Subject: Re: [RFC patch 26/27] Immediate Values - Jump
* KOSAKI Motohiro (kosaki.motohiro@...fujitsu.com) wrote:
> > Index: linux-2.6-lttng/include/linux/immediate.h
> > ===================================================================
> > --- linux-2.6-lttng.orig/include/linux/immediate.h 2008-04-16 14:04:47.000000000 -0400
> > +++ linux-2.6-lttng/include/linux/immediate.h 2008-04-16 14:04:48.000000000 -0400
> > @@ -33,8 +33,7 @@
> > * Internal update functions.
> > */
> > extern void core_imv_update(void);
> > -extern void imv_update_range(const struct __imv *begin,
> > - const struct __imv *end);
> > +extern void imv_update_range(struct __imv *begin, struct __imv *end);
> > extern void imv_unref_core_init(void);
> > extern void imv_unref(struct __imv *begin, struct __imv *end, void *start,
> > unsigned long size);
> > @@ -54,6 +53,14 @@ extern void imv_unref(struct __imv *begi
> > #define imv_read(name) _imv_read(name)
> >
> > /**
> > + * imv_cond - read immediate variable use as condition for if()
> > + * @name: immediate value name
> > + *
> > + * Reads the value of @name.
> > + */
> > +#define imv_cond _imv_read(name)
> > +
> > +/**
>
> err, missing name argument.
>
Thanks, I merged it into my patchset.
Mathieu
>
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
>
> ---
> include/linux/immediate.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: b/include/linux/immediate.h
> ===================================================================
> --- a/include/linux/immediate.h 2008-04-19 20:57:19.000000000 +0900
> +++ b/include/linux/immediate.h 2008-04-19 21:09:01.000000000 +0900
> @@ -62,7 +62,7 @@ struct __imv {
> *
> * Reads the value of @name.
> */
> -#define imv_cond _imv_read(name)
> +#define imv_cond(name) _imv_read(name)
>
> /**
> * imv_set - set immediate variable (with locking)
>
>
>
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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