lkml.org 
[lkml]   [2003]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rearrange cpumask.h headers in conventional structure
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.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.036 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site