tcg-sparc: Fix parenthesis warning
error: suggest parentheses around comparison in operand of ‘&’ [-Werror=parentheses] Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
8b6bfc7711
commit
387e417666
|
@ -153,7 +153,7 @@ typedef enum {
|
||||||
static inline void flush_icache_range(uintptr_t start, uintptr_t stop)
|
static inline void flush_icache_range(uintptr_t start, uintptr_t stop)
|
||||||
{
|
{
|
||||||
uintptr_t p;
|
uintptr_t p;
|
||||||
for (p = start & -8; p < (stop + 7) & -8; p += 8) {
|
for (p = start & -8; p < ((stop + 7) & -8); p += 8) {
|
||||||
__asm__ __volatile__("flush\t%0" : : "r" (p));
|
__asm__ __volatile__("flush\t%0" : : "r" (p));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue