aboutsummaryrefslogtreecommitdiff
path: root/tools/power/acpi/common/getopt.c
diff options
context:
space:
mode:
authorLv Zheng <[email protected]>2014-07-08 10:07:19 +0800
committerRafael J. Wysocki <[email protected]>2014-07-08 14:22:26 +0200
commit3c9349c93712f68dc9fc4caadb2fc1b7c9407316 (patch)
tree98684dea66a38606bbc05ba19190c20c89ab0277 /tools/power/acpi/common/getopt.c
parentd9cf147dbd9cef05fa08bcc1dda9b2d14d9fe567 (diff)
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 <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/power/acpi/common/getopt.c')
0 files changed, 0 insertions, 0 deletions