diff options
-rw-r--r-- | arch/tile/lib/cacheflush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/lib/cacheflush.c b/arch/tile/lib/cacheflush.c index 8928aace7a64..6af2b97a6886 100644 --- a/arch/tile/lib/cacheflush.c +++ b/arch/tile/lib/cacheflush.c | |||
@@ -109,7 +109,7 @@ void finv_buffer_remote(void *buffer, size_t size, int hfh) | |||
109 | 109 | ||
110 | /* Figure out how far back we need to go. */ | 110 | /* Figure out how far back we need to go. */ |
111 | base = p - (step_size * (load_count - 2)); | 111 | base = p - (step_size * (load_count - 2)); |
112 | if ((long)base < (long)buffer) | 112 | if ((unsigned long)base < (unsigned long)buffer) |
113 | base = buffer; | 113 | base = buffer; |
114 | 114 | ||
115 | /* | 115 | /* |