diff options
Diffstat (limited to 'src/arch/arm64/armv8/mmu.c')
-rw-r--r-- | src/arch/arm64/armv8/mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm64/armv8/mmu.c b/src/arch/arm64/armv8/mmu.c index 72e5ccab52..61ca49ff2c 100644 --- a/src/arch/arm64/armv8/mmu.c +++ b/src/arch/arm64/armv8/mmu.c @@ -35,8 +35,8 @@ static uint64_t get_block_attr(unsigned long tag) { uint64_t attr; - attr = (tag & MA_NS)? BLOCK_NS : 0; - attr |= (tag & MA_RO)? BLOCK_AP_RO : BLOCK_AP_RW; + attr = (tag & MA_NS) ? BLOCK_NS : 0; + attr |= (tag & MA_RO) ? BLOCK_AP_RO : BLOCK_AP_RW; attr |= BLOCK_ACCESS; if (tag & MA_MEM) { |