Re: [U-Boot] [PATCH] x86: acpi: Fix build error with certain configuration

2017-08-08 Thread Bin Meng
On Tue, Aug 8, 2017 at 7:44 PM, Stefan Roese wrote: > On 08.08.2017 13:35, Bin Meng wrote: >> >> When CONFIG_EFI_PARTITION is not set, the following build error is >> seen in arch/x86/lib/acpi_s3.c: >> >>error: expected declaration specifiers or '...' before '*' token >>static void asmlink

Re: [U-Boot] [PATCH] x86: acpi: Fix build error with certain configuration

2017-08-08 Thread Stefan Roese
On 08.08.2017 13:35, Bin Meng wrote: When CONFIG_EFI_PARTITION is not set, the following build error is seen in arch/x86/lib/acpi_s3.c: error: expected declaration specifiers or '...' before '*' token static void asmlinkage (*acpi_do_wakeup)(void *vector) = (void*)WAKEUP_BASE; This is act

[U-Boot] [PATCH] x86: acpi: Fix build error with certain configuration

2017-08-08 Thread Bin Meng
When CONFIG_EFI_PARTITION is not set, the following build error is seen in arch/x86/lib/acpi_s3.c: error: expected declaration specifiers or '...' before '*' token static void asmlinkage (*acpi_do_wakeup)(void *vector) = (void*)WAKEUP_BASE; This is actually caused by missing asmlinkage declar