[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120109.142104.622129906887115582.davem@davemloft.net>
Date: Mon, 09 Jan 2012 14:21:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rostedt@...dmis.org
Cc: linux-kernel@...r.kernel.org, sfr@...b.auug.org.au, greg@...ah.com,
kay.sievers@...y.org, akpm@...ux-foundation.org,
fweisbec@...il.com, mingo@...hat.com, linux-next@...r.kernel.org,
torvalds@...ux-foundation.org
Subject: Re: [PATCH] tracing/mm: Move include of trace/events/kmem.h out of
header into slab.c
From: Steven Rostedt <rostedt@...dmis.org>
Date: Mon, 09 Jan 2012 17:15:42 -0500
> Including trace/events/*.h TRACE_EVENT() macro headers in other headers
> can cause strange side effects if another trace/event/*.h header
> includes that header. Having trace/events/kmem.h inside slab_def.h
> caused a compile error in sparc64 when changes were done to some header
> files. Moving the kmem.h trace header out of slab.h and into slab.c
> fixes the problem.
>
> Note, both slub.c and slob.c already include the trace/events/kmem.h
> file. Only slab.c had it missing.
>
> Link: http://lkml.kernel.org/r/20120105190405.1e3191fb5a43b2a0f1655e1f@canb.auug.org.au
>
> Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
> Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists