On Thu, Jan 19, 2006 at 04:01:28PM +0100, Blaisorblade wrote: > Gerd Knorr in his tty patch, instead, used forward declarations, like: > > struct task_struct; > > what about that? I don't think so. At least when you use void *, you are using a type that's not incorrect. In userspace code, those task_structs start referring to host task_structs, which is definitely very wrong. > Those functions probably should be moved anyway because they're > useless there Yeah. Jeff - 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/
- Follow-Ups:
- Re: [uml-devel] [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- From: Blaisorblade <blaisorblade@yahoo.it>
- Re: [uml-devel] [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- References:
- [PATCH 0/8] Other UML batch
- From: "Paolo 'Blaisorblade' Giarrusso" <blaisorblade@yahoo.it>
- [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- From: "Paolo 'Blaisorblade' Giarrusso" <blaisorblade@yahoo.it>
- Re: [uml-devel] [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- From: Jeff Dike <jdike@addtoit.com>
- Re: [uml-devel] [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- From: Blaisorblade <blaisorblade@yahoo.it>
- [PATCH 0/8] Other UML batch
- Prev by Date: Re: [openib-general] Re: RFC: ipath ioctls and their replacements
- Next by Date: [patch 1/1] selinux: change file_alloc_security to use GFP_KERNEL
- Previous by thread: Re: [uml-devel] [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- Next by thread: Re: [uml-devel] [PATCH 8/8] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
- Index(es):
![]() |