public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jaswinder Singh Rajput <jaswinder@infradead.org>,
	Jaswinder Singh Rajput <jaswinderlinux@gmail.com>,
	"H. Peter Anvin" <hpa@kernel.org>,
	x86 maintainers <x86@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH -tip] fix compilation error
Date: Fri, 2 Jan 2009 22:52:39 +0100	[thread overview]
Message-ID: <20090102215239.GA17240@elte.hu> (raw)
In-Reply-To: <20081231141248.GA5748@nowhere>


* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> On Wed, Dec 31, 2008 at 03:15:02PM +0530, Jaswinder Singh Rajput wrote:
> > On Wed, 2008-12-31 at 09:44 +0100, Ingo Molnar wrote:
> > > * Jaswinder Singh Rajput <jaswinderlinux@gmail.com> wrote:
> > > 
> > > > Hello Ingo,
> > > > 
> > > > On Wed, Dec 31, 2008 at 1:44 PM, Ingo Molnar <mingo@elte.hu> wrote:
> > > > >
> > > > > Could you check whether latest tip/master is still OK? I had these
> > > > > problems resolved locally (but forgot to push them out), and now i also
> > > > > had to do a few conflict resolutions with latest -git, hopefully i have
> > > > > not lost hpa's fixes ...
> > > > >
> > > > 
> > > > With latest/tip, I am still getting error on X86_32 machines :
> > > > 
> > > >   CC      mm/slab.o
> > > > mm/slab.c:105:31: error: tracing/kmemtrace.h: No such file or directory
> > > > make[1]: *** [mm/slab.o] Error 1
> > > > make: *** [mm] Error 2
> > > 
> > > ok, pushed out a new one - does it build fine now?
> > > 
> > 
> > Yes, Now it looks better, thanks :-)
> > 
> > I think it will be better to move trace/XXX below to linux/XXX to aviod
> > confusion and some minor cleanup in trace folder, do you thinks this is
> > useful :
> 
> 
> I'm not sure. The tracer's headers are small files that are only 
> included in very few c files. They should be rarely included for general 
> uses.

yeah - it's also good to have a central repository of all tracepoints in 
one directory. The header guard fixes look correct nevertheless:

> > ---
> >  include/trace/boot.h      |    6 +++---
> >  include/trace/kmemtrace.h |    6 +++---
> >  mm/slab.c                 |    2 +-
> >  3 files changed, 7 insertions(+), 7 deletions(-)
> > 
> > diff --git a/include/trace/boot.h b/include/trace/boot.h
> > index 088ea08..21dcce3 100644
> > --- a/include/trace/boot.h
> > +++ b/include/trace/boot.h
> > @@ -1,5 +1,5 @@
> > -#ifndef _LINUX_TRACE_BOOT_H
> > -#define _LINUX_TRACE_BOOT_H
> > +#ifndef _TRACE_BOOT_H
> > +#define _TRACE_BOOT_H
> >  
> >  #include <linux/module.h>
> >  #include <linux/kallsyms.h>
> > @@ -57,4 +57,4 @@ static inline void enable_boot_trace(void) { }
> >  static inline void disable_boot_trace(void) { }
> >  #endif /* CONFIG_BOOT_TRACER */
> >  
> > -#endif /* __LINUX_TRACE_BOOT_H */
> > +#endif /* _TRACE_BOOT_H */
> > diff --git a/include/trace/kmemtrace.h b/include/trace/kmemtrace.h
> > index ad8b785..4ea5300 100644
> > --- a/include/trace/kmemtrace.h
> > +++ b/include/trace/kmemtrace.h
> > @@ -4,8 +4,8 @@
> >   * This file is released under GPL version 2.
> >   */
> >  
> > -#ifndef _LINUX_KMEMTRACE_H
> > -#define _LINUX_KMEMTRACE_H
> > +#ifndef _TRACE_KMEMTRACE_H
> > +#define _TRACE_KMEMTRACE_H
> >  
> >  #ifdef __KERNEL__
> >  
> > @@ -71,5 +71,5 @@ static inline void kmemtrace_mark_alloc(enum kmemtrace_type_id type_id,
> >  
> >  #endif /* __KERNEL__ */
> >  
> > -#endif /* _LINUX_KMEMTRACE_H */
> > +#endif /* _TRACE_KMEMTRACE_H */

	Ingo

      reply	other threads:[~2009-01-02 21:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-30 14:40 [PATCH -tip] fix compilation error Jaswinder Singh Rajput
2008-12-30 20:52 ` Frederic Weisbecker
2008-12-30 23:02   ` H. Peter Anvin
2008-12-31  0:34     ` H. Peter Anvin
2008-12-31  0:47       ` Frederic Weisbecker
2008-12-31  1:01         ` H. Peter Anvin
2008-12-31  1:47           ` Frederic Weisbecker
2008-12-31  8:14             ` Ingo Molnar
2008-12-31  8:40               ` Jaswinder Singh Rajput
2008-12-31  8:44                 ` Ingo Molnar
2008-12-31  9:45                   ` Jaswinder Singh Rajput
2008-12-31 14:12                     ` Frederic Weisbecker
2009-01-02 21:52                       ` Ingo Molnar [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=20090102215239.GA17240@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=fweisbec@gmail.com \
    --cc=hpa@kernel.org \
    --cc=jaswinder@infradead.org \
    --cc=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    /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