[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <47M3d05Phdz9sR3@ozlabs.org>
Date: Mon, 25 Nov 2019 21:47:00 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, segher@...nel.crashing.org,
npiggin@...il.com
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] powerpc: permanently include 8xx registers in reg.h
On Thu, 2019-08-29 at 08:45:12 UTC, Christophe Leroy wrote:
> Most 8xx registers have specific names, so just include
> reg_8xx.h all the time in reg.h in order to have them defined
> even when CONFIG_PPC_8xx is not selected. This will avoid
> the need for #ifdefs in C code.
>
> Guard SPRN_ICTRL in an #ifdef CONFIG_PPC_8xx as this register
> has same name but different meaning and different spr number as
> another register in the mpc7450.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/44448640dd0df98891c5ea4695d89a4972cb4c1f
cheers
Powered by blists - more mailing lists