[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1313449947.22221.13.camel@Joe-Laptop>
Date: Mon, 15 Aug 2011 16:12:27 -0700
From: Joe Perches <joe@...ches.com>
To: Jason Baron <jbaron@...hat.com>
Cc: gregkh@...e.de, jim.cromie@...il.com, bvanassche@....org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 09/11 re-post take #2] dynamic_debug: consolidate
repetitive struct _ddebug descriptor definitions
On Mon, 2011-08-15 at 16:44 -0400, Jason Baron wrote:
> Replace the repetitive struct _ddebug descriptor definitions with
> a new DECLARE_DYNAMIC_DEBUG_META_DATA(name, fmt) macro.
[]
> diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
[]
> +#define DECLARE_DYNAMIC_DEBUG_METADATA(name, fmt) \
> + static struct _ddebug __used __aligned(8) \
> + __attribute__((section("__verbose"))) name = { \
[]
Jason, just one more thing...
Because the original struct _ddebug definition
above this uses __attribute__((aligned(8))),
struct _ddebug {
[...]
} __attribute__((aligned(8)));
( and I suppose that should be __aligned(8) instead )
the __aligned(8) use in DECLARE_DYNAMIC_DEBUG_METADATA
is not necessary.
cheers, Joe
--
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