]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Linuxize: Replace __FUNCTION__ with __func__
authorLv Zheng <lv.zheng@intel.com>
Fri, 19 Jun 2015 03:38:22 +0000 (11:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Jun 2015 17:54:15 +0000 (19:54 +0200)
commit0f48cd5090483246ac0c01b5399063abbf2e1cd6
treec71e08b29c4778df5cad92d6408f84015070a315
parent95831f65d747580ad5fb83f8ea2ed1be884287a5
ACPICA: Linuxize: Replace __FUNCTION__ with __func__

ACPICA commit cb3d1c79f862cd368d749c9b8d9dced40111b0d0

__FUNCTION__ is MSVC only, in Linux, it is __func__. Lv Zheng.

As noted by Christoph Hellwig: "__func__ is in C99 and never.
__FUNCTION__ is an old extension supported by various compilers."

In ACPICA, this is achieved by string replacement in release script and
this patch contains the source code difference between the Linux upstream
and ACPICA that is caused by the back porting.

Link: https://github.com/acpica/acpica/commit/cb3d1c79
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/utdebug.c