[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] target/cris: Use MMUAccessType enum type when possible
From: |
Richard Henderson |
Subject: |
Re: [PATCH 1/2] target/cris: Use MMUAccessType enum type when possible |
Date: |
Wed, 3 Feb 2021 16:45:50 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 1/27/21 2:32 PM, Philippe Mathieu-Daudé wrote:
> Replace the 0/1/2 magic values by the corresponding MMUAccessType.
> We can remove a comment as enum names are self explicit.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> target/cris/helper.c | 4 ++--
> target/cris/mmu.c | 13 ++++++-------
> 2 files changed, 8 insertions(+), 9 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- Re: [PATCH 1/2] target/cris: Use MMUAccessType enum type when possible,
Richard Henderson <=