From: Andrew Morton <akpm@osdl.org>
To: Paul Jackson <pj@sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rearrange cpumask.h headers in conventional structure
Date: Mon, 15 Dec 2003 09:03:31 -0800 [thread overview]
Message-ID: <20031215090331.2ca5a755.akpm@osdl.org> (raw)
In-Reply-To: <20031215001045.41b98136.pj@sgi.com>
Paul Jackson <pj@sgi.com> wrote:
>
> ...
> The convention for any facility that is partially generic,
> partially arch specific is for each include/asm-* arch to
> have it's own arch-specific header file (picked up via the
> include/asm symlink to the current arch), and for those
> arch-specific header files in turn to include asm-generic
> headers, if and to the extend that they choose to make use of
> the generic implementation.
>
> ...
> -#include <linux/cpumask.h>
> +#include <asm/cpumask.h>
Personally, I rather prefer that include/linux/cpumask.h be retained, and
that it perform the inclusion of <asm/cpumask.h>. This provides some level
of information hiding and gives us somewhere to place cpumask things which
we _know_ are arch-independent.
next prev parent reply other threads:[~2003-12-15 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 8:10 [PATCH] rearrange cpumask.h headers in conventional structure Paul Jackson
2003-12-15 17:03 ` Andrew Morton [this message]
2003-12-15 18:30 ` Paul Jackson
2003-12-16 12:15 ` [PATCH] Take 2: " Paul Jackson
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=20031215090331.2ca5a755.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.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