Re: [PATCH v3 7/7] arm64: support PREEMPT_DYNAMIC

From: Mark Rutland
Date: Thu Feb 10 2022 - 07:01:18 EST


On Thu, Feb 10, 2022 at 09:38:37AM +0000, Mark Rutland wrote:
> On Wed, Feb 09, 2022 at 08:57:09PM +0100, Frederic Weisbecker wrote:
> > On Wed, Feb 09, 2022 at 03:35:35PM +0000, Mark Rutland wrote:
> > > Note that PREEMPT_DYNAMIC is `def bool y`, so this will default to
> > > enabled.
> >
> > It should probably be "def_bool y if HAVE_STATIC_CALL_INLINE"...
>
> Sure; I'm more than happy to fold that into patch 5.

For the moment I've made that:

def_bool y if HAVE_PREEMPT_DYNAMIC_CALL

... since that fit more neatly with the other bits I had to add, and didn't
change the existing behaviour of 32-bit x86.

Please shout if you think that should be HAVE_STATIC_CALL_INLINE specifically!

Thanks,
Mark.