Skip to contentSkip to conversation

sh: move inline before return type

PATCH New [email protected] 1 participant 1 message Jul 12, 2017 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 88/96 sh: move inline before return type

From: Joe Perches <[email protected]>
Subject: sh: move inline before return type

Make the code like the rest of the kernel.

---

 arch/sh/mm/cache-sh5.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/mm/cache-sh5.c renamed from arch/sh/mm/cache-sh5.c~sh-move-inline-before-return-type +1 -1
diff -puN arch/sh/mm/cache-sh5.c~sh-move-inline-before-return-type arch/sh/mm/cache-sh5.c
@@ -234,7 +234,7 @@ static void sh64_icache_inv_current_user
 #define DUMMY_ALLOCO_AREA_SIZE ((L1_CACHE_BYTES << 10) + (1024 * 4))
 static unsigned char dummy_alloco_area[DUMMY_ALLOCO_AREA_SIZE] __cacheline_aligned = { 0, };
 
-static void inline sh64_dcache_purge_sets(int sets_to_purge_base, int n_sets)
+static inline void sh64_dcache_purge_sets(int sets_to_purge_base, int n_sets)
 {
 	/* Purge all ways in a particular block of sets, specified by the base
 	   set number and number of sets.  Can handle wrap-around, if that's

_