Re: list_head makes me crazy

Rik van Riel (riel@conectiva.com.br)
Thu, 6 Dec 2001 18:12:56 -0200 (BRST)


On Thu, 6 Dec 2001, Frank Cornelis wrote:

> In include/asm-i386/processor.h, struct thread_struct I can add
> struct list_head *mylist;
> but not
> struct list_head mylist;

A struct list_head is about twice as large as a pointer.

Rik

-- 
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/