Go to file
Robert Moore d09bc88ad2 AcpiSrc: Fix indentation issues for macro invocations.
During the linuxizing process, some extra white spaces are added by the
"indent" program at the beginning of the line which is an invocation of a
macro and there is no ";" at the end of the line.

This patch adds new mode to AcpiSrc to remove extra spaces inserted before
invoking such macros and add an empty line between the invocations of such
macros (like the other function declarations).  This new mode is executed
after executing "indent" during the Linux release process.

The affected macros and files are:
 1. ACPI_HW_DEPENDENT_RETURN (acpixf.h):
    This macro is used as a wrapper for hardware dependent APIs to offer a
    stub when the reduced hardware is configured during compilation.
 2. ACPI_EXPORT_SYMBOL (utglobal.c):
    This macro is used by Linux to export symbols to be found by Linux
    modules.  All such invocations are well formatted except those exported
    as global variables.

This can help to reduce the source code differences between Linux and
ACPICA, and also help to automate the release process.  Lv Zheng.
2013-09-26 08:33:05 -07:00
documents Logfile: Changes for version 20130823. 2013-08-23 09:45:17 -07:00
generate AcpiSrc: Fix indentation issues for macro invocations. 2013-09-26 08:33:05 -07:00
source AcpiSrc: Fix indentation issues for macro invocations. 2013-09-26 08:33:05 -07:00
tests Tests/AAPITS: Insert legal header in all source modules (.c, .h) 2013-08-21 12:20:49 -07:00
.gitignore Linuxize scripts: Add an ACPICA release library. 2013-08-22 08:33:00 -07:00
Makefile Add top-level unix Makefile for acpica tools/utilities. 2012-06-29 14:23:42 -07:00