Messages in this thread | | | Date | Mon, 25 Mar 2019 04:37:48 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3] RISC-V: Always compile mm/init.c with cmodel=medany and notrace |
| |
> +ifdef CONFIG_FTRACE > +CFLAGS_REMOVE_init.o = -pg > +endif > + > obj-y += init.o > obj-y += fault.o > obj-y += extable.o > obj-y += ioremap.o > obj-y += cacheflush.o > + > +CFLAGS_init.o := -mcmodel=medany
Can you keep the two flags adjustments togther, preferably towards the top of the file?
> +/* > + * The setup_vm() is called from head.S with MMU-off.
s/The //g
Otherwis looks fine:
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |