> HELP,
>
> In include/asm-i386/processor.h, struct thread_struct I can add
> struct list_head *mylist;
> but not
> struct list_head mylist;
> while in both cases
> #include <linux/list.h>
> is being used.
>
> I really need this, so if anyone has the solution to my problem...
>
> Thanks in advance, Frank.
It a cross includes problem and you can declare a pointer to something
coz the pointer has a fixed size while the full struct is prohibited
because its size is unknown.
- Davide
-
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/