Re: [PATCH] x86-64: fix UML build after adding CFI annotations to lib/rwsem_64.S

From: Stratos Psomadakis
Date: Tue Mar 01 2011 - 07:08:10 EST


On 03/01/2011 01:14 PM, Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
> Cc: Jeff Dike <jdike@xxxxxxxxxxx>
>
> ---
> arch/um/Kconfig.x86 | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> --- 2.6.38-rc6/arch/um/Kconfig.x86
> +++ 2.6.38-rc6-x86_64-cfi-annotate-rwsem-UML/arch/um/Kconfig.x86
> @@ -19,6 +19,9 @@ config X86_32
> def_bool !64BIT
> select HAVE_AOUT
>
> +config X86_64
> + def_bool 64BIT
> +
> config RWSEM_XCHGADD_ALGORITHM
> def_bool X86_XADD
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml
tested it and works(build + boot).
i think that you could add "select HAVE_AOUT" to x86_64 too, or move it to
config UML_X86, to catch both configs.

--
Stratos Psomadakis
<psomas@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/