From: Lv Zheng Date: Tue, 8 Jul 2014 02:06:05 +0000 (+0800) Subject: ACPICA: Utilities: Fix an issue with non-native ACPI_IS_PRINT() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~15^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8ffc7dbb7e2bb9cbf3d84ef4116c5f7901539a;p=pandora-kernel.git ACPICA: Utilities: Fix an issue with non-native ACPI_IS_PRINT() An error was found in the ACPICA provided non-native ACPI_IS_PRINT() causing the following difference with the native isprint() implementation: The GNU libc isprint('\n') test result: isprint(0x20) is FALSE The Linux kernel isprint('\n') test result: ACPI: isprint(0x20) is FALSE The _acpi_ctype isprint('\n') test result: isprint(0x20) is TRUE The ACPI_IS_PRINT() macro generated for _acpi_ctype is wrong. It should use _ACPI_XS instead of _ACPI_SP. _ACPI_XS is white space only. Other space characters should be non printable. This patch fixes this issue. For OSPMs that are using native standard isprint() implementations, this patch is a no-op. Lv Zheng. Signed-off-by: Lv Zheng Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed