[U-Boot] [PATCH 10/12] update linux/list

Wolfgang Denk wd at denx.de
Fri Aug 29 15:19:11 CEST 2008


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <1219919251-3644-10-git-send-email-plagnioj at jcrosoft.com> you wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  include/linux/list.h   |  506 +++++++++++++++++++++++++++++++++++++++++++-----
>  include/linux/poison.h |   13 ++

Do we really need this?

> diff --git a/include/linux/poison.h b/include/linux/poison.h
> new file mode 100644
> index 0000000..ba7ff84
> --- /dev/null
> +++ b/include/linux/poison.h
> @@ -0,0 +1,13 @@
> +#ifndef _LINUX_POISON_H
> +#define _LINUX_POISON_H
> +
> +/********** include/linux/list.h **********/
> +/*
> + * These are non-NULL pointers that will result in page faults
> + * under normal circumstances, used to verify that nobody uses
> + * non-initialized list entries.
> + */
> +#define LIST_POISON1  ((void *) 0x00100100)
> +#define LIST_POISON2  ((void *) 0x00200200)

I think this will not work at all in U-Boot, so we can leave  it  out
as well.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There's a way out of any cage.
	-- Captain Christopher Pike, "The Menagerie" ("The Cage"),
	   stardate unknown.


More information about the U-Boot mailing list