From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: linux-kbuild@vger.kernel.org
Cc: Christoph Hellwig <hch@infradead.org>,
linux-kernel@vger.kernel.org, Michal Marek <mmarek@suse.cz>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
Benjamin Poirier <bpoirier@suse.de>,
Yaakov Selkowitz <yselkowitz@gmail.com>
Subject: Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ
Date: Tue, 23 Oct 2012 19:04:30 +0200 [thread overview]
Message-ID: <201210231904.31087.yann.morin.1998@free.fr> (raw)
In-Reply-To: <20121023131248.GA4289@infradead.org>
Christoph, All,
On Tuesday 23 October 2012 Christoph Hellwig wrote:
> On Thu, Oct 18, 2012 at 07:33:45PM +0200, Yann E. MORIN wrote:
> > Some systems (eg. Cygwin, FreeBSD) are missing the CIRCLEQ macros.
> > They were removed in Y2000 from FreeBSD:
> > http://svnweb.freebsd.org/base?view=revision&revision=70469
> >
> > The reason was that TAILQ are perfectly capable of doing the exact
> > same things:
> > http://www.mavetju.org/mail/view_thread.php?list=freebsd-arch&id=915145&thread=yes
> >
> > (Thank Yaakov for the pointers!)
> >
> > So, switch to using TAILQ instead, which are more portable.
>
> Why not use the kernels list.h?
First, we can't use linux/list.h because it can't be included from userspace.
Second, it would not be convenient for those that use kconfig outside the
Linux kernel (thiord-party projects, eg. buildroot, uClibc, busybox...):
http://marc.info/?l=linux-kbuild&m=135065985609068&w=2
Also, this patch of mine is deprecated; Benjamin has posted another patch
which makes use of a stripped-down list.h, partially copied from linux/list.h:
http://marc.info/?t=135081179500001&r=1&w=4
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2012-10-23 17:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 17:33 [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ Yann E. MORIN
2012-10-18 17:55 ` Yaakov (Cygwin/X)
2012-10-18 18:59 ` Yann E. MORIN
2012-10-19 8:59 ` Yaakov (Cygwin/X)
2012-10-19 12:10 ` Tetsuo Handa
2012-10-19 14:54 ` Michal Marek
2012-10-20 14:43 ` Tetsuo Handa
2012-10-20 16:58 ` Yann E. MORIN
2012-10-19 22:52 ` Yann E. MORIN
2012-10-20 17:56 ` [PATCH] menuconfig: Replace CIRCLEQ by list_head-style lists Benjamin Poirier
2012-10-20 21:22 ` Yann E. MORIN
2012-10-21 1:21 ` Tetsuo Handa
2012-10-20 22:19 ` Yann E. MORIN
2012-10-21 1:54 ` Yaakov (Cygwin/X)
2012-10-23 13:12 ` [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ Christoph Hellwig
2012-10-23 17:04 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201210231904.31087.yann.morin.1998@free.fr \
--to=yann.morin.1998@free.fr \
--cc=bpoirier@suse.de \
--cc=hch@infradead.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=yselkowitz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox