Re: [RFC PATCH] arm64/sve,sme: Refine scalable regset sizes at boot

From: Dave Martin
Date: Wed Feb 07 2024 - 07:25:38 EST


On Tue, Feb 06, 2024 at 11:07:23AM +0000, Mark Brown wrote:
> On Mon, Feb 05, 2024 at 05:27:20PM +0000, Dave Martin wrote:
>
> > --- a/arch/arm64/kernel/ptrace.c
> > +++ b/arch/arm64/kernel/ptrace.c
> > @@ -9,6 +9,7 @@
> > */
> >
> > #include <linux/audit.h>
> > +#include <linux/cache.h>
> > #include <linux/compat.h>
> > #include <linux/kernel.h>
> > #include <linux/sched/signal.h>
>
> Why?

include/linux/cache.h:#define __ro_after_init

(Yes, I was a bit surprised too, but that's where it is.)

Cheers
---Dave