From: Wolfgang Denk Date: Fri, 29 Aug 2008 15:19:11 +0200 Subject: [U-Boot] [PATCH 10/12] update linux/list In-Reply-To: <1219919251-3644-10-git-send-email-plagnioj@jcrosoft.com> References: <20080828102643.GD12371@game.jcrosoft.org> <1219919251-3644-1-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-2-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-3-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-4-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-5-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-6-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-7-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-8-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-9-git-send-email-plagnioj@jcrosoft.com> <1219919251-3644-10-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20080829131911.3D9FF24899@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1219919251-3644-10-git-send-email-plagnioj@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > 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.