lkml.org 
[lkml]   [2008]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC patch 26/27] Immediate Values - Jump
* KOSAKI Motohiro (kosaki.motohiro@jp.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@jp.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


\
 
 \ /
  Last update: 2008-04-19 15:27    [from the cache]
©2003-2011 Jasper Spaans