Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack

From: Andrew Morton
Date: Wed Feb 04 2015 - 18:05:40 EST


On Wed, 04 Feb 2015 14:49:17 -0800 Joe Perches <joe@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/