powerpc/mm: Fix build error with CONFIG_PPC_TRANSACTIONAL_MEM disabled
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 21 Apr 2015 14:40:26 +0000 (20:10 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Apr 2015 07:42:14 +0000 (17:42 +1000)
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

Reported-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c

index 444f7a5..fda236f 100644 (file)
@@ -1394,6 +1394,7 @@ tm_abort:
                tm_abort(TM_CAUSE_TLBI);
        }
 #endif
+       return;
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */