[RESEND PATCH] riscv: Move nommu pgprot_* macros to pgtable.h

Pekka Enberg penberg at gmail.com
Tue Jul 14 06:00:38 EDT 2020

Hi Palmer,

On Tue, Jul 14, 2020 at 4:21 AM Palmer Dabbelt <palmer at dabbelt.com> wrote:
> This seems fine, but I guess I don't understand why they don't have default
> values in the generic code for !MMU.  It kind of seems like it's an oversight
> due to nested #ifdefs.  Assuming that's the case, we can just juggle those
> around and then remove these from all the ports that define the now useless
> macros.
> LMK if you want to pursue that or if you want me to take it over.

Yeah, makes sense, I'll send patches to do that instead. Thanks!

- Pekka

More information about the linux-riscv mailing list