lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080419203925.A900.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Date:	Sat, 19 Apr 2008 20:41:17 +0900
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc:	kosaki.motohiro@...fujitsu.com, Ingo Molnar <mingo@...e.hu>,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC patch 26/27] Immediate Values - Jump

> 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.



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)



--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ