Re: [PATCH] hpet header sanitization

From: Arjan van de Ven
Date: Wed Mar 22 2006 - 03:59:45 EST


On Tue, 2006-03-21 at 16:26 -0800, Randy.Dunlap wrote:
> On Tue, 21 Mar 2006 16:13:03 -0800 Andrew Morton wrote:
>
> > "Randy.Dunlap" <rdunlap@xxxxxxxxxxxx> wrote:
> > >
> > > From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
> > >
> > > Add __KERNEL__ block.
> > > Use __KERNEL__ to allow ioctl interface to be usable.
> >
> > hm, why?
>
> because there is a test/example source file in (inside)
> Documentation/hpet.txt that won't build otherwise.
> And because hpet.h contains _userspace_ ioctl interface struct
> and macros...


then please split the header in 2 parts; one for the kernel
and one for userspace


either put both here, or move the kernel one to the directory where the
source code is


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/