Skip to contentSkip to conversation

powerpc/mm: Fix build error with CONFIG_PPC_TRANSACTIONAL_MEM disabled

PATCH New Aneesh Kumar K.V 1 participant 1 message Apr 21, 2015 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/mm: Fix build error with CONFIG_PPC_TRANSACTIONAL_MEM disabled

This fix the below build error

arch/powerpc/mm/hash_utils_64.c: In function ‘flush_hash_hugepage’:
arch/powerpc/mm/hash_utils_64.c:1381:1: error: label at end of compound statement
tm_abort:
^
make[1]: *** [arch/powerpc/mm/hash_utils_64.o] Error 1

---
 arch/powerpc/mm/hash_utils_64.c | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/mm/hash_utils_64.c +1 -0
index 2c2022d16059..ac5c4373cd8b 100644
@@ -1394,6 +1394,7 @@ tm_abort:
 		tm_abort(TM_CAUSE_TLBI);
 	}
 #endif
+	return;
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
 
Signature · 1 line
2.1.0