lkml.org 
[lkml]   [2007]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Some love to default profiler
On 08/07/07, Adrian Bunk <bunk@stusta.de> wrote:
> On Thu, Jul 05, 2007 at 01:50:27AM +0200, Jesper Juhl wrote:
> > On 04/07/07, Alexey Dobriyan <adobriyan@gmail.com> wrote:
> >> 1) Drop __KERNEL__ out of profile.h. It contains only internal kernel
> >> stuff and
> >> not in exported headers list
> >
> > Even if it's not in the list of exported headers, does it really hurt
> > to retain that extra safeguard?
> >...
>
> Safeguard for what?
>
Well, for userspace code that tries to include the file. I know
nobody should, but somebody still might. At least that was my
thought when I made that comment.

> And it has to be consistent, and current policy is to not have
> #ifdef __KERNEL__'s in all not to userspace exported headers.
>
Ok, in that case it should go away.


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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: 2007-07-08 20:55    [W:0.078 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site