Re: [PATCH 2/2] hw/mips: Simplify code using ROUND_UP(INITRD_PAGE_SIZE)

2020-10-05 Thread Richard Henderson
On 9/27/20 11:39 AM, Philippe Mathieu-Daudé wrote: > Instead of using a INITRD_PAGE_MASK definition, use the > simpler INITRD_PAGE_SIZE one which allows us to simplify > the code by using directly the self-explicit ROUND_UP() > macro. > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/hw/

[PATCH 2/2] hw/mips: Simplify code using ROUND_UP(INITRD_PAGE_SIZE)

2020-09-27 Thread Philippe Mathieu-Daudé
Instead of using a INITRD_PAGE_MASK definition, use the simpler INITRD_PAGE_SIZE one which allows us to simplify the code by using directly the self-explicit ROUND_UP() macro. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/mips/mips.h | 4 +++- hw/mips/fuloong2e.c| 3 +-- hw/mips/malta