summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/mm/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/mm/cache.c')
-rw-r--r--arch/openrisc/mm/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/mm/cache.c b/arch/openrisc/mm/cache.c
index 08f56af387ac..534a52ec5e66 100644
--- a/arch/openrisc/mm/cache.c
+++ b/arch/openrisc/mm/cache.c
@@ -16,7 +16,7 @@
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
-static void cache_loop(struct page *page, const unsigned int reg)
+static __always_inline void cache_loop(struct page *page, const unsigned int reg)
{
unsigned long paddr = page_to_pfn(page) << PAGE_SHIFT;
unsigned long line = paddr & ~(L1_CACHE_BYTES - 1);