From: Lv Zheng Date: Tue, 8 Jul 2014 02:07:19 +0000 (+0800) Subject: ACPICA: Common: Enhance cm_get_file_size() to improve portability X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~15^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9349c93712f68dc9fc4caadb2fc1b7c9407316;p=pandora-kernel.git ACPICA: Common: Enhance cm_get_file_size() to improve portability This patch uses abstract file IO and acpi_log_error() APIs to enhance cm_get_file_size() so that applications that invoke this API could have portability improved. With actual references added to abstract file IO and acpi_log_error(), the applications need to link oslibcfs.o, utdebug.o, utexcep.o, utmath.o, utprint.o and utxferror.o. It is also required to add acpi_os_initialize() invocations if an application starts to use acpi_log_error(). acpidump has already invoked acpi_os_initialize() in this way. Lv Zheng. Signed-off-by: Lv Zheng Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed