Re: [PATCH 016/108] acpi: Add an __ACPI__ preprocessor symbol

2020-02-10 Thread Bin Meng
On Mon, Jan 27, 2020 at 1:08 PM Simon Glass wrote: > > The ASL compiler cannot handle C structures and the like so needs some > sort of header guard around these. > > We already have an __ASSEMBLY__ #define but it seems best to create a new > one for ACPI since the rules may be different. > > Add

[PATCH 016/108] acpi: Add an __ACPI__ preprocessor symbol

2020-01-26 Thread Simon Glass
The ASL compiler cannot handle C structures and the like so needs some sort of header guard around these. We already have an __ASSEMBLY__ #define but it seems best to create a new one for ACPI since the rules may be different. Add the check to a few files that ACPI always includes. Signed-off-by