[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdUyW+ZBTb=bJp+ZwmUO0bc3rEyJMS19rmQrqmiDQL15=Q@mail.gmail.com>
Date: Fri, 1 Sep 2017 10:06:49 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Stafford Horne <shorne@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Jonas Bonn <jonas@...thpole.se>,
Openrisc <openrisc@...ts.librecores.org>
Subject: Re: [OpenRISC] [PATCH 02/13] openrisc: define CPU_BIG_ENDIAN as true
On Wed, Aug 30, 2017 at 11:58 PM, Stafford Horne <shorne@...il.com> wrote:
> While working on SMP for OpenRISC I found this is needed for qrwlocks to
> work correctly. OpenRISC is big endian so this should have been here
> already.
>
> Signed-off-by: Stafford Horne <shorne@...il.com>
> ---
> arch/openrisc/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
> index ba8ae92ec5fb..8ddfc92ab813 100644
> --- a/arch/openrisc/Kconfig
> +++ b/arch/openrisc/Kconfig
> @@ -29,6 +29,9 @@ config OPENRISC
> select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
> select NO_BOOTMEM
>
> +config CPU_BIG_ENDIAN
> + def_bool y
> +
This is already in Andrew's tree and linux-next, as part of commit
410ae809fee6c792 ("arch: define CPU_BIG_ENDIAN for all fixed big endian
archs").
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists