diff options
Diffstat (limited to 'sys/arm/mv/mv_common.c')
-rw-r--r-- | sys/arm/mv/mv_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/mv/mv_common.c b/sys/arm/mv/mv_common.c index 5a1999347f054..946695661d960 100644 --- a/sys/arm/mv/mv_common.c +++ b/sys/arm/mv/mv_common.c @@ -823,7 +823,7 @@ decode_win_cpu_valid(void) continue; } - if (b != (b & ~(s - 1))) { + if (b != rounddown2(b, s)) { printf("CPU window#%d: address 0x%08x is not aligned " "to 0x%08x\n", i, b, s); rv = 0; |