Add return statements to arch_init functions for ia64 and ppc.
authorBruce Cran <bruce@cran.org.uk>
Thu, 20 Dec 2012 13:59:56 +0000 (13:59 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Dec 2012 14:18:40 +0000 (15:18 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arch-ia64.h
arch/arch-ppc.h

index 8ccbd865e01513eeaf7ace812a58d5ca8ea7245c..2df55ba4846c838872f1a277da7404abec86b9df 100644 (file)
@@ -47,6 +47,7 @@ extern int tsc_reliable;
 static inline int arch_init(char *envp[])
 {
        tsc_reliable = 1;
+       return 0;
 }
 
 #define ARCH_HAVE_FFZ
index 0f2037550da32f85041ed2a720878fdbcd1fa383..e73093df86f5f25ed68c44e4e3662d1ab3210891 100644 (file)
@@ -63,6 +63,7 @@ extern int tsc_reliable;
 static inline int arch_init(char *envp[])
 {
        tsc_reliable = 1;
+       return 0;
 }
 
 #define ARCH_HAVE_FFZ