[PATCH 09/11] acpica: fwts_iasl_interface: we need to enable preprocessor to stop ramdom segfaulting

Keng-Yu Lin kengyu at canonical.com
Thu Apr 12 06:25:52 UTC 2012


On Thu, Apr 12, 2012 at 7:50 AM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  src/acpica/source/compiler/fwts_iasl_interface.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpica/source/compiler/fwts_iasl_interface.c b/src/acpica/source/compiler/fwts_iasl_interface.c
> index ada4326..88a20a2 100644
> --- a/src/acpica/source/compiler/fwts_iasl_interface.c
> +++ b/src/acpica/source/compiler/fwts_iasl_interface.c
> @@ -110,7 +110,7 @@ int fwts_iasl_assemble_aml(const char *source, char **output)
>                /* Setup ACPICA compiler globals */
>                Gbl_DisasmFlag = FALSE;
>                Gbl_DoCompile = TRUE;
> -               Gbl_PreprocessFlag = FALSE;
> +               Gbl_PreprocessFlag = TRUE;
>                Gbl_UseDefaultAmlFilename = FALSE;
>                Gbl_OutputFilenamePrefix = source;
>
> --
> 1.7.9.5
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>




More information about the fwts-devel mailing list