[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150204150534.6969aa4b6108950ab2154906@linux-foundation.org>
Date: Wed, 4 Feb 2015 15:05:34 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Joe Perches <joe@...ches.com>
Cc: Rasmus Villemoes <linux@...musvillemoes.dk>,
Michal Nazarewicz <mina86@...a86.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack
On Wed, 04 Feb 2015 14:49:17 -0800 Joe Perches <joe@...ches.com> wrote:
> trivia about macros vs c99 predefined identifiers below:
>
> > diff -puN include/acpi/acoutput.h~kernelh-remove-ancient-__function__-hack-fix include/acpi/acoutput.h
> []
> > @@ -240,7 +240,7 @@
> > /*
> > * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header,
> > * define it now. This is the case where there the compiler does not support
> > - * a __FUNCTION__ macro or equivalent.
> > + * a __func__ macro or equivalent.
>
> Do these still make sense? __func__ isn't a macro.
Yeah, but I was too lazy to think up more appropriate text. Hey, it's
only ACPI :)
--
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