Re: [PATCH v3 17/24] C6X: loadable module support

From: Arnd Bergmann
Date: Wed Sep 28 2011 - 09:54:16 EST


On Tuesday 27 September 2011, Mark Salter wrote:
>
> Signed-off-by: Mark Salter <msalter@xxxxxxxxxx>
> ---
> arch/c6x/include/asm/module.h | 33 +++++++++++
> arch/c6x/kernel/c6x_ksyms.c | 68 +++++++++++++++++++++
> arch/c6x/kernel/module.c | 129 +++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 230 insertions(+), 0 deletions(-)
> create mode 100644 arch/c6x/include/asm/module.h
> create mode 100644 arch/c6x/kernel/c6x_ksyms.c
> create mode 100644 arch/c6x/kernel/module.c

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

> +
> +#ifdef DEBUG
> +#define DBG(fmt...) pr_debug(fmt)
> +#else
> +#define DBG(fmt...)
> +#endif

Note that this is unnecesary. pr_debug is already conditional.

Arnd
--
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/